Git Product home page Git Product logo

examples's People

Contributors

riateche avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

examples's Issues

Looking for SignalOfQlistOfQPointF" and "SlotOfQlistOfQPoint"

Hi,

i am trying to dynamically "replace" the serie from a QLineSeries in a QChart (located in the main Gui) from a QThread worker function, and as a consequence i need to emit a QList(QPointF).

i need to implement the following :

#[slot(SlotOfQlistOfQPointF)]
unsafe fn on_updateval(self: &Rc, list: ) {
self.xaxis.set_range(0 as f64, N as f64);
self.series.replace_q_list_of_q_point_f(&list);
QCoreApplication::process_events_0a();
}
The problem is that there is no SignalOfQlistOfQPointF" nor "SlotOfQlistOfQPoint" in any ot the Rust-Qt libraries (qt.gui, qt.core, qt.widgets, qt.charts...)

I checked in the documentation and did not find neither "SignalOfQlistOfQPointF" nor "SlotOfQlistOfQPointF".

Is there any reason for this? If no would it be possible to implement it at some point? Is there any work around except the recursive emit of a "SignalOfQPointF".

I thank you very much in advance.

Best Regards.
Olivier.

Current target is unknown

My os is win10. I can build qt example project via qmake and make. But when I trying to add
[dependencies]
qt_widgets = 0.4.0
The error out put as below.

PS D:\Repo\Learn\Rust> cargo build
Compiling qt_core v0.4.1
Compiling qt_gui v0.4.1
Compiling qt_widgets v0.4.1
error: failed to run custom build command for qt_core v0.4.1

Caused by:
process didn't exit successfully: D:\Repo\Learn\Rust\target\debug\build\qt_core-88d5880d560d360c\build-script-build (exit code: 1)
--- stdout
Current target is unknown: v5.13.0 on x86_64-windows-windows-msvc
Known targets:

  • v5.9.7 on x86_64-linux-unix-gnu
  • v5.11.3 on x86_64-linux-unix-gnu
  • v5.12.2 on x86_64-linux-unix-gnu
  • v5.13.0 on x86_64-linux-unix-gnu
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    -- Configuring incomplete, errors occurred!
    See also "D:/Repo/Learn/Rust/target/debug/build/qt_core-acf6b298de836b20/out/c_lib_build/CMakeFiles/CMakeOutput.log".
    See also "D:/Repo/Learn/Rust/target/debug/build/qt_core-acf6b298de836b20/out/c_lib_build/CMakeFiles/CMakeError.log".

--- stderr
CMake Error at CMakeLists.txt:5 (project):
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:5 (project):
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

[2020-02-01T01:30:47Z ERROR ritual_common::errors] Error:
[2020-02-01T01:30:47Z ERROR ritual_common::errors] command failed with exit code: 1: "cmake" "-Wno-dev" "C:\Users\WYF\.cargo\registry\src\github.com-1ecc6299db9ec823\qt_core-0.4.1\c_lib" "-G" "NMake Makefiles" "-DRITUAL_LIBRARY_TYPE=SHARED" "-DRITUAL_CPP_LIB_VERSION=51300" "-DRITUAL_INCLUDE_PATH=D:/Work/Qt/5.13.0/msvc2017_64/include;D:/Work/Qt/5.13.0/msvc2017_64/include\QtCore" "-DRITUAL_LIBRARY_PATH=D:/Work/Qt/5.13.0/msvc2017_64/lib" "-DRITUAL_FRAMEWORK_PATH=" "-DRITUAL_LINKED_LIBS=Qt5Core" "-DRITUAL_LINKED_FRAMEWORKS=" "-DRITUAL_COMPILER_FLAGS=" "-DRITUAL_QT=1" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:\Repo\Learn\Rust\target\debug\build\qt_core-acf6b298de836b20\out\c_lib_install"

warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for qt_gui v0.4.1

Caused by:
process didn't exit successfully: D:\Repo\Learn\Rust\target\debug\build\qt_gui-937e2d31b1832871\build-script-build (exit code: 1)
--- stdout
Current target is unknown: v5.13.0 on x86_64-windows-windows-msvc
Known targets:

  • v5.9.7 on x86_64-linux-unix-gnu
  • v5.11.3 on x86_64-linux-unix-gnu
  • v5.12.2 on x86_64-linux-unix-gnu
  • v5.13.0 on x86_64-linux-unix-gnu
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    -- Configuring incomplete, errors occurred!
    See also "D:/Repo/Learn/Rust/target/debug/build/qt_gui-eb81ecdd01c443c8/out/c_lib_build/CMakeFiles/CMakeOutput.log".
    See also "D:/Repo/Learn/Rust/target/debug/build/qt_gui-eb81ecdd01c443c8/out/c_lib_build/CMakeFiles/CMakeError.log".

--- stderr
CMake Error at CMakeLists.txt:5 (project):
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:5 (project):
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

[2020-02-01T01:30:47Z ERROR ritual_common::errors] Error:
[2020-02-01T01:30:47Z ERROR ritual_common::errors] command failed with exit code: 1: "cmake" "-Wno-dev" "C:\Users\WYF\.cargo\registry\src\github.com-1ecc6299db9ec823\qt_gui-0.4.1\c_lib" "-G" "NMake Makefiles" "-DRITUAL_LIBRARY_TYPE=SHARED" "-DRITUAL_CPP_LIB_VERSION=51300" "-DRITUAL_INCLUDE_PATH=D:/Work/Qt/5.13.0/msvc2017_64/include;D:/Work/Qt/5.13.0/msvc2017_64/include\QtGui;D:/Work/Qt/5.13.0/msvc2017_64/include\QtCore" "-DRITUAL_LIBRARY_PATH=D:/Work/Qt/5.13.0/msvc2017_64/lib" "-DRITUAL_FRAMEWORK_PATH=" "-DRITUAL_LINKED_LIBS=Qt5Gui;Qt5Core" "-DRITUAL_LINKED_FRAMEWORKS=" "-DRITUAL_COMPILER_FLAGS=" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:\Repo\Learn\Rust\target\debug\build\qt_gui-eb81ecdd01c443c8\out\c_lib_install"

warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for qt_widgets v0.4.1

Caused by:
process didn't exit successfully: D:\Repo\Learn\Rust\target\debug\build\qt_widgets-2b6c510f1b0f7d15\build-script-build (exit code: 1)
--- stdout
Current target is unknown: v5.13.0 on x86_64-windows-windows-msvc
Known targets:

  • v5.9.7 on x86_64-linux-unix-gnu
  • v5.11.3 on x86_64-linux-unix-gnu
  • v5.12.2 on x86_64-linux-unix-gnu
  • v5.13.0 on x86_64-linux-unix-gnu
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    -- Configuring incomplete, errors occurred!
    See also "D:/Repo/Learn/Rust/target/debug/build/qt_widgets-6b54bd3a73c391ca/out/c_lib_build/CMakeFiles/CMakeOutput.log".
    See also "D:/Repo/Learn/Rust/target/debug/build/qt_widgets-6b54bd3a73c391ca/out/c_lib_build/CMakeFiles/CMakeError.log".

--- stderr
CMake Error at CMakeLists.txt:5 (project):
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:5 (project):
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

[2020-02-01T01:30:47Z ERROR ritual_common::errors] Error:
[2020-02-01T01:30:47Z ERROR ritual_common::errors] command failed with exit code: 1: "cmake" "-Wno-dev" "C:\Users\WYF\.cargo\registry\src\github.com-1ecc6299db9ec823\qt_widgets-0.4.1\c_lib" "-G" "NMake Makefiles" "-DRITUAL_LIBRARY_TYPE=SHARED" "-DRITUAL_CPP_LIB_VERSION=51300" "-DRITUAL_INCLUDE_PATH=D:/Work/Qt/5.13.0/msvc2017_64/include;D:/Work/Qt/5.13.0/msvc2017_64/include\QtWidgets;D:/Work/Qt/5.13.0/msvc2017_64/include\QtCore;D:/Work/Qt/5.13.0/msvc2017_64/include\QtGui" "-DRITUAL_LIBRARY_PATH=D:/Work/Qt/5.13.0/msvc2017_64/lib" "-DRITUAL_FRAMEWORK_PATH=" "-DRITUAL_LINKED_LIBS=Qt5Widgets;Qt5Core;Qt5Gui" "-DRITUAL_LINKED_FRAMEWORKS=" "-DRITUAL_COMPILER_FLAGS=" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:\Repo\Learn\Rust\target\debug\build\qt_widgets-6b54bd3a73c391ca\out\c_lib_install"

custom model question

Kudos on this project. I am quite happy with how simple it is to integrate rust into qt using these libraries. I have used all of the rust libraries for uis out there, and this is my favorite so far. The performance is far better than gtk.

I do have a question about qt's model/view Is there any affordance for dealing with inheritance? How if at all can i implement a custom model? Do I have to do this in c++?

`lights` example fails to link, but `basic_form` works

Thanks for all your effort working on these bindings.
I managed to build & run the basic_form example but when I try to run the lights example, it fails to link.
Any idea why? :)

D:\3rdparty\rust-qt\examples>cargo run --bin lights
  Downloaded qt_3d_core v0.5.0
  Downloaded qt_3d_extras v0.5.0
  Downloaded qt_3d_render v0.5.0
  Downloaded qt_3d_logic v0.5.0
  Downloaded qt_3d_input v0.5.0
   Compiling qt_3d_core v0.5.0
   Compiling qt_3d_logic v0.5.0
   Compiling qt_3d_input v0.5.0
   Compiling qt_3d_render v0.5.0
   Compiling qt_3d_extras v0.5.0
   Compiling lights v0.0.0 (D:\3rdparty\rust-qt\examples\3d\lights)
error: linking with `lld-link` failed: exit code: 1
  |
  = note: "lld-link" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.179630krbeeu1hv1.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.1apauomuwstm8z4k.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.1io03fkjnu9i7dn1.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.1mg5y7ugjejbdkvc.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.1rsb8gcrplyadpud.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.1tmsltrkwm7ag59a.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.1tv0zigwwmnzb853.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.1yx008zkctpre5qx.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.207hr1fnbbpc3oig.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.234kauzmjmhaex2e.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.29858xyhzg7b2ohb.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.2nna2r0aju42heb5.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.2sbmkz5aee68n3nx.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.2sepx51zq8drlykq.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.2vg7ekseat4z00z.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.2wh6byhjsak53n3.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.2xhnv9sm5wzqlh69.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.2yhlq35ut25u8nh8.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.2yjqn3419qu1sm5i.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.34ts051aneqj1b26.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.3lyanug1a7lqmnk9.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.3n0agzrl8lql9t5m.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.3o39u43qdzgr2gsw.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.3xpmu29nre0dw874.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.3zru1zys11nz2rju.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.40lqgiyyzvlwvxw4.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.42k8eq1fw555ji7y.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.46et2970mulfg61q.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.4upab3tg2by3eb77.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.4wrlwepuauxsdl7u.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.4y0dqmqs92f48ona.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.50e808ixcnd1tece.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.fkhfjvmb83q3iq6.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.hygqt30f1oje1qo.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.j6ekeg7ihaivs70.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.n59nvomy629fkvu.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.nn9rb0vx1pdgw9d.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.r4t4liyng5w63ex.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.xpj1lpfeubo9dsd.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.yejo45zgpjkxqc.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.zqd82k2h7swo9oj.rcgu.o" "/OUT:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.exe" "/SUBSYSTEM:windows" "/ENTRY:mainCRTStartup" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\lights.51r9unx9elkcok4y.rcgu.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_3d_core-59a4ddff77522a24\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_core-87accce7af97137f\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_gui-7046cd2d82392145\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_3d_extras-7f318c7bc69383a1\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_3d_input-1e7b4881960fbd78\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_3d_logic-657df0a1ccb46010\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_3d_render-a3f4f79f7202a8ff\\out\\c_lib_install" "/LIBPATH:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_3d_extras-6c5e91ef3df15efc.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_3d_render-e2e22c86a12d770c.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_3d_logic-a8575e02095edd6e.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_3d_input-e0ee68c428c29a6f.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_3d_core-1867e3cd7ce98206.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_gui-809f0acfb68560b8.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_core-549cd2f65012910f.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libcpp_core-4148900faadf6f4a.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\liblibc-a22ce8d4876a5f17.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-1f238888c84774e2.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-d8f151518bb4c57c.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-74266904899dc245.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-51f2cd471cdfc396.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libbacktrace-dce1430caacd4770.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-6d52e6deaec7cf95.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-dbb085221d1acb15.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-d8cc0a94c0c8a864.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-ee75f5de884abde6.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-8aecd5c37fa55150.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-d895cc5a4bb533f7.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-6cba9134ca8058d2.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-c24e965c1f22f6cd.rlib" "Qt53DExtras.lib" "Qt5Core.lib" "Qt5Gui.lib" "Qt53DCore.lib" "Qt53DRender.lib" "Qt53DInput.lib" "Qt53DLogic.lib" "Qt53DRender.lib" "Qt5Core.lib" "Qt5Gui.lib" "Qt53DCore.lib" "Qt53DLogic.lib" "Qt5Core.lib" "Qt5Gui.lib" "Qt53DCore.lib" "Qt53DInput.lib" "Qt5Core.lib" "Qt5Gui.lib" "Qt53DCore.lib" "Qt53DCore.lib" "Qt5Core.lib" "Qt5Gui.lib" "Qt5Gui.lib" "Qt5Core.lib" "Qt5Core.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib" "-fuse-ld=lld"
  = note: lld-link: warning: ignoring unknown argument '-fuse-ld=lld'
          lld-link: error: /failifmismatch: mismatch detected for 'RuntimeLibrary':
          >>> libqt_3d_core-1867e3cd7ce98206.rlib(file1.cpp.obj) has value MD_DynamicRelease
          >>> libqt_gui-809f0acfb68560b8.rlib(file1.cpp.obj) has value MT_StaticRelease


error: aborting due to previous error

error: could not compile `lights`.

To learn more, run the command again with --verbose.

I'm executing this in the x64 Native Tools Command Prompt for VS 2019.


EDIT: The chart example also fails with:

D:\3rdparty\rust-qt\examples>cargo run --bin chart
  Downloaded qt_charts v0.5.0
   Compiling qt_charts v0.5.0
error: failed to run custom build command for `qt_charts v0.5.0`

Caused by:
  process didn't exit successfully: `D:\3rdparty\rust-qt\examples\target\debug\build\qt_charts-0aa95637753742da\build-script-build` (exit code: 1)
--- stderr
[2021-05-17T03:05:42Z ERROR ritual_common::errors] Error:
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    extra header dir not found (tried: D:/Qt/5.15.2/msvc2019_64/lib\QtCharts.framework/Headers, D:/Qt/5.15.2/msvc2019_64/include\QtCharts)
[2021-05-17T03:05:42Z ERROR ritual_common::errors] Short backtrace:
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    0: backtrace::backtrace::dbghelp::trace
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\backtrace-0.3.45\src\backtrace\dbghelp.rs:88
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    1: backtrace::backtrace::trace_unsynchronized<closure-0>
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\backtrace-0.3.45\src\backtrace\mod.rs:66
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    2: backtrace::backtrace::trace<closure-0>
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\backtrace-0.3.45\src\backtrace\mod.rs:53
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    3: backtrace::capture::Backtrace::create
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\backtrace-0.3.45\src\capture.rs:164
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    4: backtrace::capture::Backtrace::new_unresolved
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\backtrace-0.3.45\src\capture.rs:158
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    5: failure::backtrace::internal::InternalBacktrace::new
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\failure-0.1.7\src\backtrace\internal.rs:46
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    6: failure::backtrace::Backtrace::new
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\failure-0.1.7\src\backtrace\mod.rs:121
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    7: failure::error::error_impl::{{impl}}::from<failure::error_message::ErrorMessage<alloc::string::String>>
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\failure-0.1.7\src\error\error_impl.rs:19
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    8: failure::error::{{impl}}::from<failure::error_message::ErrorMessage<alloc::string::String>>
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\failure-0.1.7\src\error\mod.rs:36
[2021-05-17T03:05:42Z ERROR ritual_common::errors]    9: failure::error_message::err_msg<alloc::string::String>
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\failure-0.1.7\src\error_message.rs:12
[2021-05-17T03:05:42Z ERROR ritual_common::errors]   10: qt_ritual_common::get_installation_data
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\qt_ritual_common-0.4.0\src\lib.rs:96
[2021-05-17T03:05:42Z ERROR ritual_common::errors]   11: qt_ritual_common::get_full_build_config
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\qt_ritual_common-0.4.0\src\lib.rs:115
[2021-05-17T03:05:42Z ERROR ritual_common::errors]   12: qt_ritual_build::try_run
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\qt_ritual_build-0.5.0\src\lib.rs:57
[2021-05-17T03:05:42Z ERROR ritual_common::errors]   13: qt_ritual_build::run
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\qt_ritual_build-0.5.0\src\lib.rs:113
[2021-05-17T03:05:42Z ERROR ritual_common::errors]   14: build_script_build::main
[2021-05-17T03:05:42Z ERROR ritual_common::errors]              at build.rs:2

The other examples also fail:

D:\3rdparty\rust-qt\examples>cargo run --bin hello_qml
   Compiling qt_qml v0.5.0
   Compiling hello_qml v0.0.0 (D:\3rdparty\rust-qt\examples\qml\hello_qml)
error: linking with `lld-link` failed: exit code: 1
  |
  = note: "lld-link" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.174n0190huyg44rs.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.1944wzophlfx1o4p.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.19ageb6ihxyza13o.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.1c5v96v6zpdr2rh3.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.1em3yncqyjy9qdno.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.1juzvgb2xlsgal6s.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.1l3kaqhf7kod0oez.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.20a3rug5i7faij6f.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.2fqlz6iv6wi20gus.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.2frrr81fk6ygj0at.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.2v2c6wrh6l6rd5pz.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.31r4pyffqins5rv.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.3cfd0jqdnvdy5v10.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.3ekf6v7sq6j2qfmq.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.3fsnod7n6cpnpkqa.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.3g9mklhudkgq0bz9.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.3gcbsa0ie3k4h6l4.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.3krgy3ewrvsleq7r.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.456x1xfmzpmmmf8o.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.485u86ayu70vxph7.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.4936d0c221fmrugo.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.4c3x3tv87usd53n2.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.4jen0qlgn2k3j8pf.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.4jk6e8on4hoi84cg.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.4qsardwvu5cq029i.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.59aiwoc4nd2z2lbn.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.fuqmvjgec7qarae.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.g1vcvp0ycva66d0.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.lhclasbwann6j3v.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.o18o199rd6kdbf2.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.ue83fnxizug97e0.rcgu.o" "/OUT:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.exe" "/SUBSYSTEM:windows" "/ENTRY:mainCRTStartup" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\hello_qml.51nv6gmfrodjqatk.rcgu.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\hello_qml-268dbf101c6d8f53\\out\\ritual_qt_resources_resources\\release" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_core-87accce7af97137f\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_gui-7046cd2d82392145\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_qml-76f5a69073c485ee\\out\\c_lib_install" "/LIBPATH:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "ritual_qt_resources_resources.lib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_qml-49c6e5f5e982fb55.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_gui-809f0acfb68560b8.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_core-549cd2f65012910f.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libcpp_core-4148900faadf6f4a.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\liblibc-a22ce8d4876a5f17.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-1f238888c84774e2.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-d8f151518bb4c57c.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-74266904899dc245.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-51f2cd471cdfc396.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libbacktrace-dce1430caacd4770.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-6d52e6deaec7cf95.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-dbb085221d1acb15.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-d8cc0a94c0c8a864.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-ee75f5de884abde6.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-8aecd5c37fa55150.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-d895cc5a4bb533f7.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-6cba9134ca8058d2.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-c24e965c1f22f6cd.rlib" "Qt5Qml.lib" "Qt5Core.lib" "Qt5Gui.lib" "Qt5Gui.lib" "Qt5Core.lib" "Qt5Core.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib" "-fuse-ld=lld"
  = note: lld-link: warning: ignoring unknown argument '-fuse-ld=lld'
          lld-link: error: /failifmismatch: mismatch detected for 'RuntimeLibrary':
          >>> libqt_qml-49c6e5f5e982fb55.rlib(file1.cpp.obj) has value MD_DynamicRelease
          >>> libqt_gui-809f0acfb68560b8.rlib(file1.cpp.obj) has value MT_StaticRelease


error: aborting due to previous error

error: could not compile `hello_qml`.

To learn more, run the command again with --verbose.

D:\3rdparty\rust-qt\examples>cargo run --bin todo_list
   Compiling todo_list v0.0.0 (D:\3rdparty\rust-qt\examples\widgets\todo_list)
error: linking with `lld-link` failed: exit code: 1
  |
  = note: "lld-link" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.11y3kczpinp3q8vx.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.13jwlavjdbw7l6tj.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.155gww666dchgjr2.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.16g131x0s6nwh213.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.19cvgg923xx9n0pw.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.19zmtc1367yfgnwk.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1acgj9rjle1y9gxg.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1d34lj1tklx0zry1.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1h4x04r5924oatf3.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1ih7hxhu555js156.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1l48nkhp3l2fjh3p.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1wkoobe7o0qdeine.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1wzvr602ca7vcprf.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1zdn1980nrsvy9g8.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2b2a552xxpa73oxb.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2drayss6xw3ny309.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2e3gfh3ao4yuo7rt.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2ep0sda9vpi1rv2e.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2j11lbu476xr8zt0.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2potp78fcl9kin5c.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2s4dug4z0kkl56jw.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2s55vber1f2e5m8.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2u24wbunmsg29v60.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2wja5r8rqjt2hmk1.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2xxi0j4045voc3cz.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.2yurqz3jn5hee3go.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.314y9ww1fcm7hdwu.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.36ry7auzc39dzxhu.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.390ftag9sichoobt.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3cnrqg8iom1w32cv.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3f4k5llqq26ypyj6.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3gnchzurfxmbgy40.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3ij9mlmbxy1k6vls.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3jfor00blpx6mg3x.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3kk91yiff9z5s9tj.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3nca3xhd88squmu.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3oscrgl12562hxw.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.3s43locqeqflbchl.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.448do0vm3ydgzl7v.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.47xlu1hivzvqh0vs.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4a9g18lniwber7jv.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4c1xlip0zkwwdqdg.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4cjnhhp2uqeezjdi.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4fkl7o3ezenrtkzn.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4k1hjw0pvmvafutp.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4ls2ie6mbe26lx0b.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4rrq0i6yir6x5k88.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4wgpt4tiwq7s7wlb.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4x6cy57tz6a9c3t0.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4xdn9u0itxqt8zw3.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4z2ejgqjb176njll.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.4zon9w5mcb8phh8.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.53bejxkhtdl7kv63.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.54zoqecrhvhsldkm.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.56877exn4lh5evuh.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.5a7sgayqa9m7au7n.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.5c73jboywdjraabt.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.5ckz3fklj3x0vuq5.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.5egsw8gvoywd8hsn.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.5f8qyttb8im0otba.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.7rrdp0gjg5g9cxp.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.9js5zr5y0qwzwzf.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.a7ws9qxuxsbajjf.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.b0byl70rkmcb13a.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.ir1y1b1bucb9w5g.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.tti5wd3sbbzl68e.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.uaeo0650zjm3fu4.rcgu.o" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.vxv9npnel0ybe5y.rcgu.o" "/OUT:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.exe" "/SUBSYSTEM:windows" "/ENTRY:mainCRTStartup" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\todo_list.1gof3uz1uyxcylw8.rcgu.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\todo_list-8a805568e83adfe8\\out\\ritual_qt_resources_resources\\release" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_core-87accce7af97137f\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_gui-7046cd2d82392145\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_ui_tools-36adf1f9d24c54f4\\out\\c_lib_install" "/LIBPATH:D:/Qt/5.15.2/msvc2019_64/lib" "/LIBPATH:D:\\3rdparty\\rust-qt\\examples\\target\\debug\\build\\qt_widgets-ed8ff4a48529f278\\out\\c_lib_install" "/LIBPATH:C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "ritual_qt_resources_resources.lib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_ui_tools-43fce1653b216a13.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_widgets-9041436ca115c564.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_gui-809f0acfb68560b8.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libqt_core-549cd2f65012910f.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\libcpp_core-4148900faadf6f4a.rlib" "D:\\3rdparty\\rust-qt\\examples\\target\\debug\\deps\\liblibc-a22ce8d4876a5f17.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-1f238888c84774e2.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-d8f151518bb4c57c.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-74266904899dc245.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-51f2cd471cdfc396.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libbacktrace-dce1430caacd4770.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-6d52e6deaec7cf95.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-dbb085221d1acb15.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-d8cc0a94c0c8a864.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-ee75f5de884abde6.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-8aecd5c37fa55150.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-d895cc5a4bb533f7.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-6cba9134ca8058d2.rlib" "C:\\Users\\me\\.rustup\\toolchains\\1.41.0-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-c24e965c1f22f6cd.rlib" "Qt5UiTools.lib" "Qt5Core.lib" "Qt5Gui.lib" "Qt5Widgets.lib" "Qt5Widgets.lib" "Qt5Core.lib" "Qt5Gui.lib" "Qt5Gui.lib" "Qt5Core.lib" "Qt5Core.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib" "-fuse-ld=lld"
  = note: lld-link: warning: ignoring unknown argument '-fuse-ld=lld'
          lld-link: error: /failifmismatch: mismatch detected for 'RuntimeLibrary':
          >>> ritual_qt_resources_resources.lib(1.obj) has value MD_DynamicRelease
          >>> libqt_ui_tools-43fce1653b216a13.rlib(file1.cpp.obj) has value MT_StaticRelease


error: aborting due to previous error

error: could not compile `todo_list`.

To learn more, run the command again with --verbose.

D:\3rdparty\rust-qt\examples>cargo run --bin logging
    Finished dev [unoptimized + debuginfo] target(s) in 0.09s
     Running `target\debug\logging.exe`

D:\3rdparty\rust-qt\examples>cargo run --bin mime_types
    Finished dev [unoptimized + debuginfo] target(s) in 0.09s
     Running `target\debug\mime_types.exe`
"target\\debug\\mime_types.exe" : QMimeType("application/x-ms-dos-executable")

'GL/gl.h' file not found

I constantly get the following build errors:

'GL/gl.h' file not found

However, that library is installed under

/usr/local/include/qt5/QtOpenGL/qgl.h

Any ideas?

success compiled, but can load the qt library.

(base) JerryWs-MacBook-Pro:examples jerryw$ cargo build
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
(base) JerryWs-MacBook-Pro:examples jerryw$ cargo run --bin form1
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
     Running `target/debug/form1`
dyld: Library not loaded: @rpath/libQt5Widgets.5.dylib
  Referenced from: /Users/jerryw/MyCode/StudyRust/examples/target/debug/form1
  Reason: image not found
Abort trap: 6
(base) JerryWs-MacBook-Pro:examples jerryw$  otool -L /Users/jerryw/MyCode/StudyRust/examples/target/debug/form1
/Users/jerryw/MyCode/StudyRust/examples/target/debug/form1:
        @rpath/libQt5Widgets.5.dylib (compatibility version 5.12.0, current version 5.12.5)
        @rpath/libQt5Core.5.dylib (compatibility version 5.12.0, current version 5.12.5)
        @rpath/libQt5Gui.5.dylib (compatibility version 5.12.0, current version 5.12.5)
        @rpath/libc++.1.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)
        /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
(base) JerryWs-MacBook-Pro:examples jerryw$ 

and I also
export DYLD_LIBRARY_PATH=/usr/local/Qt-5.14.0/lib/
to spepcify the QT library path.

by the way, Does my Qt install incorrect on Mac OS 10.15.3?
** I installed QT, but None of dylib (mybe libQt5Widgets.5.dylib) files found in lib path.

in directory there are frameworks ,
ls /usr/local/Qt-5.14.0/lib/

Qt3DAnimation.framework QtTextToSpeech.framework libQt5GraphicsSupport_debug.prl
Qt3DCore.framework QtUiPlugin.framework libQt5OpenGLExtensions.a
Qt3DExtras.framework QtVirtualKeyboard.framework libQt5OpenGLExtensions.la
Qt3DInput.framework QtWebChannel.framework libQt5OpenGLExtensions.prl
Qt3DLogic.framework QtWebEngine.framework libQt5OpenGLExtensions_debug.a
Qt3DQuick.framework QtWebEngineCore.framework libQt5OpenGLExtensions_debug.la
Qt3DQuickAnimation.framework QtWebEngineWidgets.framework libQt5OpenGLExtensions_debug.prl
Qt3DQuickExtras.framework QtWebSockets.framework libQt5PacketProtocol.a
Qt3DQuickInput.framework QtWebView.framework libQt5PacketProtocol.la
Qt3DQuickRender.framework QtWidgets.framework libQt5PacketProtocol.prl
Qt3DQuickScene2D.framework QtXml.framework libQt5PacketProtocol_debug.a
Qt3DRender.framework QtXmlPatterns.framework libQt5PacketProtocol_debug.la
QtBluetooth.framework cmake libQt5PacketProtocol_debug.prl
QtBodymovin.framework libQt5AccessibilitySupport.a libQt5PlatformCompositorSupport.a
QtCharts.framework libQt5AccessibilitySupport.la libQt5PlatformCompositorSupport.la
QtConcurrent.framework libQt5AccessibilitySupport.prl libQt5PlatformCompositorSupport.prl
QtCore.framework libQt5AccessibilitySupport_debug.a libQt5PlatformCompositorSupport_debug.a
QtDBus.framework libQt5AccessibilitySupport_debug.la libQt5PlatformCompositorSupport_debug.la
QtDataVisualization.framework libQt5AccessibilitySupport_debug.prl libQt5PlatformCompositorSupport_debug.prl
QtDesigner.framework libQt5Bootstrap.a libQt5QmlDebug.a
QtDesignerComponents.framework libQt5Bootstrap.la libQt5QmlDebug.la
QtGamepad.framework libQt5Bootstrap.prl libQt5QmlDebug.prl
QtGui.framework libQt5ClipboardSupport.a libQt5QmlDebug_debug.a
QtHelp.framework libQt5ClipboardSupport.la libQt5QmlDebug_debug.la
QtLocation.framework libQt5ClipboardSupport.prl libQt5QmlDebug_debug.prl
QtMacExtras.framework libQt5ClipboardSupport_debug.a libQt5QmlDevTools.a
QtMultimedia.framework libQt5ClipboardSupport_debug.la libQt5QmlDevTools.la
QtMultimediaQuick.framework libQt5ClipboardSupport_debug.prl libQt5QmlDevTools.prl
QtMultimediaWidgets.framework libQt5DeviceDiscoverySupport.a libQt5ServiceSupport.a
QtNetwork.framework libQt5DeviceDiscoverySupport.la libQt5ServiceSupport.la
QtNetworkAuth.framework libQt5DeviceDiscoverySupport.prl libQt5ServiceSupport.prl
QtNfc.framework libQt5DeviceDiscoverySupport_debug.a libQt5ServiceSupport_debug.a
QtOpenGL.framework libQt5DeviceDiscoverySupport_debug.la libQt5ServiceSupport_debug.la
QtPositioning.framework libQt5DeviceDiscoverySupport_debug.prl libQt5ServiceSupport_debug.prl
QtPositioningQuick.framework libQt5EdidSupport.a libQt5ThemeSupport.a
QtPrintSupport.framework libQt5EdidSupport.la libQt5ThemeSupport.la
QtPurchasing.framework libQt5EdidSupport.prl libQt5ThemeSupport.prl
QtQml.framework libQt5EdidSupport_debug.a libQt5ThemeSupport_debug.a
QtQmlModels.framework libQt5EdidSupport_debug.la libQt5ThemeSupport_debug.la
QtQmlWorkerScript.framework libQt5EdidSupport_debug.prl libQt5ThemeSupport_debug.prl
QtQuick.framework libQt5EventDispatcherSupport.a libQt5UiTools.a
QtQuick3D.framework libQt5EventDispatcherSupport.la libQt5UiTools.la
QtQuick3DAssetImport.framework libQt5EventDispatcherSupport.prl libQt5UiTools.prl
QtQuick3DRender.framework libQt5EventDispatcherSupport_debug.a libQt5UiTools_debug.a
QtQuick3DRuntimeRender.framework libQt5EventDispatcherSupport_debug.la libQt5UiTools_debug.la
QtQuick3DUtils.framework libQt5EventDispatcherSupport_debug.prl libQt5UiTools_debug.prl
QtQuickControls2.framework libQt5FbSupport.a libQtRepParser.prl
QtQuickParticles.framework libQt5FbSupport.la libQtRepParser_debug.prl
QtQuickShapes.framework libQt5FbSupport.prl libQtUiPlugin.prl
QtQuickTemplates2.framework libQt5FbSupport_debug.a libQtUiPlugin_debug.prl
QtQuickTest.framework libQt5FbSupport_debug.la libQtWebEngineCore.prl
QtQuickWidgets.framework libQt5FbSupport_debug.prl libQtWebEngineCore_debug.prl
QtRemoteObjects.framework libQt5FontDatabaseSupport.a libqtfreetype.a
QtRepParser.framework libQt5FontDatabaseSupport.la libqtfreetype.prl
QtScript.framework libQt5FontDatabaseSupport.prl libqtfreetype_debug.a
QtScriptTools.framework libQt5FontDatabaseSupport_debug.a libqtfreetype_debug.prl
QtScxml.framework libQt5FontDatabaseSupport_debug.la libqtlibpng.a
QtSensors.framework libQt5FontDatabaseSupport_debug.prl libqtlibpng.prl
QtSerialBus.framework libQt5GraphicsSupport.a libqtlibpng_debug.a
QtSerialPort.framework libQt5GraphicsSupport.la libqtlibpng_debug.prl
QtSql.framework libQt5GraphicsSupport.prl pkgconfig
QtSvg.framework libQt5GraphicsSupport_debug.a
QtTest.framework libQt5GraphicsSupport_debug.la

Method 'start' missing in QTimer

When I try to compile the following code:
...
let mut timer = QTimer::new_0a();
timer.timeout().connect(&form.timer_timeout);
timer.set_interval(300);
timer.start();
...
I get with "cargo build":

error[E0599]: no method named start found for type cpp_core::cpp_box::CppBox<qt_core::QTimer> in the current scope
--> src\main.rs:73:15
|
73 | timer.start();
| ^^^^^ method not found in cpp_core::cpp_box::CppBox<qt_core::QTimer>

OS: Windows 10

WASM example

Hi.

I think we need to add some wasm example here.

thank you for ritual.

slot callback is invalid

image

the line 66, method1 register slot callback is right, console printed fsdafsd
but line 70, method2 register is not right, invalid, I click button not invoke on_trans_btn_clicked method

why?

linking failed

When trying to compile basic_form or todo_list, the build files with this error:

...
   Compiling todo_list v0.0.0 (/tmp/examples/widgets/todo_list)
error: linking with `x86_64-pc-linux-gnu-gcc` failed: exit code: 1
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /tmp/examples/target/debug/deps/libqt_core-ffe30365118fc3f6.rlib(file1.cpp.o): in function `qfloat16::qfloat16(float)':
          /usr/include/qt5/QtCore/qfloat16.h:170: undefined reference to `qfloat16::basetable'
          /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/include/qt5/QtCore/qfloat16.h:171: undefined reference to `qfloat16::shifttable'
          /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /tmp/examples/target/debug/deps/libqt_core-ffe30365118fc3f6.rlib(file1.cpp.o): in function `qfloat16::operator float() const':
          /usr/include/qt5/QtCore/qfloat16.h:187: undefined reference to `qfloat16::offsettable'
          /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/include/qt5/QtCore/qfloat16.h:187: undefined reference to `qfloat16::mantissatable'
          /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/include/qt5/QtCore/qfloat16.h:188: undefined reference to `qfloat16::exponenttable'

I have qt-5.14.1 installed.

Rust + Qt:The trait `cpp_core::cpp_box::CppDeletable` is not implemented for `LoginPage`

I am new to Rust and I have the above code with which I am trying to create a QWizardPage and add it to a QWizard, I have inserted the proper widget to the page but when I am trying to add the page as component into the wizard I am taking this strange error

cpp_core::cpp_box::CppDeletable is not implemented for LoginPage

    use cpp_core::{Ptr, StaticUpcast};
    use qt_core::{qs, slot, QBox, QObject, SlotNoArgs};
    use qt_widgets::{
        QWizard, QApplication, QHBoxLayout, QWizardPage, QVBoxLayout, QLineEdit, QLabel
    };
    use qt_widgets::q_line_edit::{
        EchoMode
    };
    use std::rc::Rc;
    
    
    struct LoginPage {
        page: QBox<QWizardPage>,
        usernamelb: QBox<QLabel>,
        username: QBox<QLineEdit>,
        passwordlb: QBox<QLabel>,
        password: QBox<QLineEdit>
    }
    
    impl StaticUpcast<QObject> for LoginPage {
        unsafe fn static_upcast(ptr: Ptr<Self>) -> Ptr<QObject> {
            ptr.page.as_ptr().static_upcast()
        }
    }
    
    impl LoginPage {
        fn new() -> Rc<LoginPage> {
            unsafe {
                let page = QWizardPage::new_0a();
                let vmainlayout = QVBoxLayout::new_1a(&page);
                let usernamelayout = QHBoxLayout::new_1a(&page);
                let passwordlayout = QHBoxLayout::new_1a(&page);
                vmainlayout.add_layout_1a(&usernamelayout);
                vmainlayout.add_layout_1a(&passwordlayout);
                let usernamelb = QLabel::new();
                usernamelb.set_text(&qs("Username:"));
                usernamelayout.add_widget(&usernamelb);
    
                let username = QLineEdit::new();
                usernamelayout.add_widget(&username);
    
                let passwordlb = QLabel::new();
                passwordlb.set_text(&qs("Password:"));
                
                passwordlayout.add_widget(&passwordlb);
    
                let password = QLineEdit::new();
                password.set_echo_mode(EchoMode::Password);
                passwordlayout.add_widget(&password);
                let this = Rc::new(LoginPage {
                    page,
                    usernamelb,
                    username,
                    passwordlb,
                    password
                });
                this
            }
        }
    }
    
    struct Wizard {
        wizard: QBox<QWizard>,
        loginPage: QBox<LoginPage>
    }
    
    impl StaticUpcast<QObject> for Wizard {
        unsafe fn static_upcast(ptr: Ptr<Self>) -> Ptr<QObject> {
            ptr.wizard.as_ptr().static_upcast()
        }
    }
    
    impl Wizard {
        fn new() -> Rc<Wizard> {
            unsafe {
                let wizard = QWizard::new_0a();
                let loginPage = LoginPage::new();
                let this = Rc::new(Wizard {
                    wizard,
                    loginPage
                });
                this.init();
                this
            }
        }
    
        unsafe fn init(self: &Rc<Self>) {
            self.wizard.rejected().connect(&self.slot_on_wizard_rejected());
        }
    }
    
    fn main() {
        QApplication::init(|_| unsafe {
            let _wizard = Wizard::new();
            _wizard.wizard.show();
    
            QApplication::exec()
        })
    }


Much needed example of how to define and use signals and slots using custom Rust types

The qt_* libraries work great! The only conspicuously missing thing is an obvious way (preferably demonstrated through a working example) of defining signals and slots that use custom Rust types (not the built-in ones with hard-coded names like SlotNoArgs, SlotOfQModelIndexIntInt, etc). I spent a while looking at the implementations of the built-in slot types, and briefly started to modify a copy/pasted version of one to make my own (for e.g. struct RustData { x : usize, y : String }), but eventually realized that there are apparently hardcoded FFI functions for each slot type as well, and decided not to go down that rabbit hole.

Is there an obvious way to do this that I'm missing?

Either way, an example of this would be much appreciated!

can this rust-qt OCR demo project be included ?

hello, this project is an example of rust-qt windows desktop , for OCR usage:
It shows :

  1. how to convert QT's ui file to rust file by project ruic,and then used in rust-qt project.
  2. QListwidget 's add_item_q_string() how to convert CppBox<QString> as parameter to type QString.
  3. the practical usage of OCR by paddleOCR-json.

I'd found rust-qt really good. Hope this demo project can help someone.

encouraging...

Just want to thank you again for this amazing work. I was able to throw together a pretty substantial prototype in a very short amount of time.
I really feel like this is the best library hands down to write UIs in Rust.
As an aside, I am wondering if we can use the qmetaobject to get around limitations with the lack of inheritance in rust? Do you have plans for tackling this?
image

Error when compiling on Windows

Hey, i want to use rust-qt but when i launch a basic example i have this error :

CMake Error at CMakeLists.txt:5 (project):
  The CMAKE_CXX_COMPILER:

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe

  is not a full path to an existing compiler tool.

  To use the NMake generator with Visual C++, cmake must be run from a shell
  that can use the compiler cl from the command line.  This environment is
  unable to invoke the cl compiler.  To fix this problem, run cmake from the
  Visual Studio Command Prompt (vcvarsall.bat).

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


[2020-04-06T23:19:15Z ERROR ritual_common::errors] Error:
[2020-04-06T23:19:15Z ERROR ritual_common::errors]    command failed with exit code: 1: "cmake" "-Wno-dev" "C:\\Users\\LavaPower\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\qt_ui_tools-0.5.0\\c_lib" "-G" "NMake Makefiles" "-DRITUAL_LIBRARY_TYPE=STATIC" "-DRITUAL_CPP_LIB_VERSION=51300" "-DRITUAL_INCLUDE_PATH=D:/Qt/5.13.0/msvc2017_64/include;D:/Qt/5.13.0/msvc2017_64/include\\QtUiTools;D:/Qt/5.13.0/msvc2017_64/include\\QtCore;D:/Qt/5.13.0/msvc2017_64/include\\QtGui;D:/Qt/5.13.0/msvc2017_64/include\\QtWidgets" "-DRITUAL_LIBRARY_PATH=D:/Qt/5.13.0/msvc2017_64/lib" "-DRITUAL_FRAMEWORK_PATH=" "-DRITUAL_LINKED_LIBS=Qt5UiTools;Qt5Core;Qt5Gui;Qt5Widgets" "-DRITUAL_LINKED_FRAMEWORKS=" "-DRITUAL_COMPILER_FLAGS=" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:\\Programmation\\Rust\\lycos_novation\\target\\debug\\build\\qt_ui_tools-371e25d1510ccec1\\out\\c_lib_install"

Thanks.

Build failure on Mac OS X

> cargo build -v
       Fresh unicode-xid v0.1.0
       Fresh cc v1.0.45
       Fresh unicode-xid v0.2.0
       Fresh autocfg v0.1.6
       Fresh lazy_static v1.4.0
       Fresh rustc-demangle v0.1.16
       Fresh cfg-if v0.1.9
       Fresh regex-syntax v0.6.12
       Fresh either v1.5.2
       Fresh itoa v0.4.4
       Fresh semver-parser v0.7.0
       Fresh term v0.4.6
       Fresh pathdiff v0.1.0
       Fresh cpp_utils v0.3.0
       Fresh thread_local v0.3.6
       Fresh itertools v0.8.0
       Fresh semver v0.9.0
       Fresh term-painter v0.2.4
       Fresh proc-macro2 v0.4.30
       Fresh libc v0.2.62
       Fresh proc-macro2 v1.0.3
       Fresh memchr v2.2.1
       Fresh serde v1.0.100
       Fresh ryu v1.0.0
       Fresh byteorder v1.3.2
       Fresh log v0.4.8
       Fresh quote v0.6.13
       Fresh quote v1.0.2
       Fresh backtrace-sys v0.1.31
       Fresh aho-corasick v0.7.6
       Fresh num_cpus v1.10.1
       Fresh serde_json v1.0.40
       Fresh toml v0.4.10
       Fresh syn v0.15.44
       Fresh syn v1.0.5
       Fresh backtrace v0.3.37
       Fresh bincode v1.1.4
       Fresh regex v1.3.1
       Fresh synstructure v0.10.2
       Fresh serde_derive v1.0.100
       Fresh failure_derive v0.1.5
       Fresh failure v0.1.5
       Fresh ritual_common v0.1.0
       Fresh ritual_build v0.1.0
       Fresh qt_ritual_common v0.1.0
       Fresh qt_ritual_build v0.1.0
       Fresh qt_core v0.3.0
       Fresh qt_gui v0.3.0
       Fresh qt_3d_core v0.3.0
       Fresh qt_widgets v0.3.0
       Fresh qt_qml v0.3.0
       Fresh qt_3d_input v0.3.0
       Fresh qt_3d_render v0.3.0
       Fresh qt_3d_logic v0.3.0
       Fresh qt_charts v0.3.0
       Fresh qt_ui_tools v0.3.0
       Fresh qt_3d_extras v0.3.0
   Compiling rust_qt_examples v0.0.0 (/Users/tolsi/Documents/rust-qt-examples)
     Running `rustc --edition=2018 --crate-name hello_world src/bin/hello_world.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=1dc8b55889ae3bd7 -C extra-filename=-1dc8b55889ae3bd7 --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install`
     Running `rustc --edition=2018 --crate-name lights src/bin/lights.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=321c4f4497ca6c6a -C extra-filename=-321c4f4497ca6c6a --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install`
     Running `rustc --edition=2018 --crate-name hello_qml src/bin/hello_qml.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=4a1d5c24b78a567e -C extra-filename=-4a1d5c24b78a567e --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install`
     Running `rustc --edition=2018 --crate-name logging src/bin/logging.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=5b2af0d0eca1c83c -C extra-filename=-5b2af0d0eca1c83c --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install`
     Running `rustc --edition=2018 --crate-name ui_form1 src/bin/ui_form1.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=abfb4e55525f8946 -C extra-filename=-abfb4e55525f8946 --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install`
     Running `rustc --edition=2018 --crate-name form1 src/bin/form1.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=b84a028c8c1f9bb7 -C extra-filename=-b84a028c8c1f9bb7 --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install`
     Running `rustc --edition=2018 --crate-name mime_types src/bin/mime_types.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=7bcc1653cc29f375 -C extra-filename=-7bcc1653cc29f375 --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install`
     Running `rustc --edition=2018 --crate-name chart src/bin/chart.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=15419675b034b29c -C extra-filename=-15419675b034b29c --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.27d11xxzld0qfi25.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.29o566ixlaxgsucw.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.2t5wf2ixhnq73ccv.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.2xed47u8hj5vtfsf.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.34teag8ovobypmzs.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.3jl9agqbqxva4cn3.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.3oqxw40pi5fw6vdh.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.3rehle8hq8bjrdc9.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.4232wlr0ei9d3bjl.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.4fdywtxqmkb3ykjn.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.4jd0syq3q1rjsu90.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.4o099w5fe3twqw4v.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.4puqyv8o72qs5eui.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.564kniqxie8zkkek.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.evyihviy63171z4.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.li098vvj5dephgy.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.w9bbcjeyt2r7nmb.rcgu.o" "-o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_world-1dc8b55889ae3bd7.51kv9ny588gob2gz.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libcpp_utils-c1eb3f6ffbefaf2f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5ac182b2a26610e.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dfb94dde79e9ab53.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-0005b96c44721c74.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b8a7b4974c01cbf3.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-186b2febaded39c9.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-afe0dcae896b226b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-55cfc224553c5fd4.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-7ccc9d31fb24c92b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-fed8bcabaae28c30.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-36c8bf2cb6e140ce.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-024113f4cac0a15f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1be0692ae6dec4e9.rlib" "-lQt5Core" "-lstdc++" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lQt5Core
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.18ujtoxfhiwdemnk.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.1gh3r7srggzb2l2s.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.1ngsdqfmeksu6c8i.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.1p36yasrh6w6fwjb.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.1xya9j5wt22187pf.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.25bohl6s87l529ti.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.2ujrnjqoetvwg4ye.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.3mbu2zuibrbktfxo.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.3mphjha84f5j61ia.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.3rkl6tekzg3e9vyl.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.4cclp374evmw8kim.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.4fgq23bai46ib5kn.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.4hs4rp8sef2rdxaj.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.4iz4s4qw5mg5r7a5.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.4nco76vntevyehul.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.4tagoss1qffubygz.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.rnakjui4fne8l5.rcgu.o" "-o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/logging-5b2af0d0eca1c83c.d0mruz6rrwco40c.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libcpp_utils-c1eb3f6ffbefaf2f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5ac182b2a26610e.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dfb94dde79e9ab53.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-0005b96c44721c74.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b8a7b4974c01cbf3.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-186b2febaded39c9.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-afe0dcae896b226b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-55cfc224553c5fd4.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-7ccc9d31fb24c92b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-fed8bcabaae28c30.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-36c8bf2cb6e140ce.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-024113f4cac0a15f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1be0692ae6dec4e9.rlib" "-lQt5Core" "-lstdc++" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lQt5Core
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `rust_qt_examples`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name hello_world src/bin/hello_world.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=1dc8b55889ae3bd7 -C extra-filename=-1dc8b55889ae3bd7 --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: Could not compile `rust_qt_examples`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name logging src/bin/logging.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=5b2af0d0eca1c83c -C extra-filename=-5b2af0d0eca1c83c --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.1ipt1qw4k02bm4gq.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.1jq94yfqceqmwfm2.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.1kq6dvmjx92yxgbk.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.1o7gz617bh9t2v5x.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.1p6mkfnzy2mwe0en.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.2grtbdwsjl7c209y.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.2huxcmnfgrt4w7v0.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.340i5aw3xjh4jje5.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.3b5hd1zoyc7mwrxu.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.3ecrgky7n9sj9hfa.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.3o46v5sobnoyw29u.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.44hhl2dkj7damrsi.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.4bwl87ykzaspvsp8.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.4l6tghs3es3rxbez.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.4qij1u07szr0g1p7.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.5daebse47ijqsp4v.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.6pcbfa9m3kedj6l.rcgu.o" "-o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/hello_qml-4a1d5c24b78a567e.23lkqpsvps26g0zp.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libcpp_utils-c1eb3f6ffbefaf2f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5ac182b2a26610e.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dfb94dde79e9ab53.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-0005b96c44721c74.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b8a7b4974c01cbf3.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-186b2febaded39c9.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-afe0dcae896b226b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-55cfc224553c5fd4.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-7ccc9d31fb24c92b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-fed8bcabaae28c30.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-36c8bf2cb6e140ce.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-024113f4cac0a15f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1be0692ae6dec4e9.rlib" "-lQt5Qml" "-lQt5Core" "-lQt5Gui" "-lstdc++" "-lQt5Gui" "-lQt5Core" "-lstdc++" "-lQt5Core" "-lstdc++" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lQt5Qml
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `rust_qt_examples`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name hello_qml src/bin/hello_qml.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=4a1d5c24b78a567e -C extra-filename=-4a1d5c24b78a567e --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.17vxe07708442zln.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.18dtzazndtucjkn0.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.1lr5t8zz8bnatrup.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.1pdqpb7t9c5weur1.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.2jbwcmzf9urwp33i.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.2oyqe7903cyblg8e.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.30nsxoczh4jl4kl1.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.3735mev4cz38k0r9.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.380zw3cz24z8m0yk.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.3ig25rv7j5ktcfuk.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.3rru0tb4nabms3cb.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.4f0z981ykyfrioc2.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.4mlhce2yliduwd9j.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.4ul2iv71x0o0yyqs.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.4zz7dsj5t5g194z5.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.51li0s0g3lkst3vw.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.546vyxun0l808lxp.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.5a1hm4rpzu7l0934.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.b1oydbmrim58vzo.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.jyqfpd3yccr2jq4.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.ot3utin5a2t4ho2.rcgu.o" "-o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/mime_types-7bcc1653cc29f375.4za1nrexo9kestfl.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libcpp_utils-c1eb3f6ffbefaf2f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5ac182b2a26610e.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dfb94dde79e9ab53.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-0005b96c44721c74.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b8a7b4974c01cbf3.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-186b2febaded39c9.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-afe0dcae896b226b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-55cfc224553c5fd4.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-7ccc9d31fb24c92b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-fed8bcabaae28c30.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-36c8bf2cb6e140ce.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-024113f4cac0a15f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1be0692ae6dec4e9.rlib" "-lQt5Core" "-lstdc++" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lQt5Core
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `rust_qt_examples`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name mime_types src/bin/mime_types.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=7bcc1653cc29f375 -C extra-filename=-7bcc1653cc29f375 --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.18qjkhxmln7giyws.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.1vcsp1vemxtwrgti.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.20tppkxu9sz0ko9m.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.23nrnblfnk87a5qm.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.2r0z1bh45wdz9tzk.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.2tucm16bihgjivhh.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.2ufp2pb445ob85q8.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.32f7hswb2la72rli.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.3j4aksi7zvava5ww.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.3opcc673ykcmg2mb.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.3p10f3yx2op5li2q.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.3vqgrhlqoaci3ane.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.41q6alb1cvif40i3.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.53ihuzdveigs9vw0.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.bjafa7wo0xwonsi.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.dyb1z791381718a.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.k0r8gcrac2orny2.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.rzgwnxdhq5zqygl.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.u0m022ujxj5xtdu.rcgu.o" "-o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/ui_form1-abfb4e55525f8946.3dyoaxckzd5luf0p.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libcpp_utils-c1eb3f6ffbefaf2f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5ac182b2a26610e.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dfb94dde79e9ab53.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-0005b96c44721c74.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b8a7b4974c01cbf3.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-186b2febaded39c9.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-afe0dcae896b226b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-55cfc224553c5fd4.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-7ccc9d31fb24c92b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-fed8bcabaae28c30.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-36c8bf2cb6e140ce.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-024113f4cac0a15f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1be0692ae6dec4e9.rlib" "-lQt5UiTools" "-lQt5Core" "-lQt5Gui" "-lQt5Widgets" "-lstdc++" "-lQt5Widgets" "-lQt5Core" "-lQt5Gui" "-lstdc++" "-lQt5Gui" "-lQt5Core" "-lstdc++" "-lQt5Core" "-lstdc++" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lQt5Core
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.1hfazpifb1ln56cy.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.22jbqiv9s6bee8sc.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.25oy4uoj2h6pcmrc.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.27g34o0foagmt9f8.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.2m1xi8n582slo4vn.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.2r7t3ylolmpbg47d.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.2xetxngl46hjxdkb.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.3n8can5mf3m8n9ow.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.41virsk4du50la37.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.45mada69r3loxg1b.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.4fk48ev0by7b9wi8.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.4p8zg02mk2pmomo4.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.4vg1fidby9cb2v8e.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.53uecrd2rnmxzqp7.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.57beyfsdgmyih265.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.9ksuqtekekw4q7c.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.mzv64ljj84sjwqm.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.n9xzrpy52wcop0j.rcgu.o" "-o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/chart-15419675b034b29c.1joui3sh8kn9tmj.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libcpp_utils-c1eb3f6ffbefaf2f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5ac182b2a26610e.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dfb94dde79e9ab53.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-0005b96c44721c74.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b8a7b4974c01cbf3.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-186b2febaded39c9.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-afe0dcae896b226b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-55cfc224553c5fd4.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-7ccc9d31fb24c92b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-fed8bcabaae28c30.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-36c8bf2cb6e140ce.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-024113f4cac0a15f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1be0692ae6dec4e9.rlib" "-lQt5Charts" "-lQt5Core" "-lQt5Gui" "-lQt5Widgets" "-lstdc++" "-lQt5Widgets" "-lQt5Core" "-lQt5Gui" "-lstdc++" "-lQt5Gui" "-lQt5Core" "-lstdc++" "-lQt5Core" "-lstdc++" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lQt5Charts
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `rust_qt_examples`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name ui_form1 src/bin/ui_form1.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=abfb4e55525f8946 -C extra-filename=-abfb4e55525f8946 --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: Could not compile `rust_qt_examples`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name chart src/bin/chart.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=15419675b034b29c -C extra-filename=-15419675b034b29c --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.10ktolx53y0guy2.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.11yse4d8vnevia8q.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.16sm6x3cuwd47tnu.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.1bddmrhjie0p8z0o.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.1dvr2hh8km1eeajh.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.1oc1klqjh1xdw1cg.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.20ublkojtsrah2im.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.273rpbju8sfavra0.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.27lww7kiz2jh8w7m.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.2c75jdhu4wcuniv8.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.31lwyd63x24zi893.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.3s4g7f8zcos4l6a2.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.3sb2wi76nnuphj6n.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.3soxjbx69xfsjnvq.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.46jryeznx0iqj8vc.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.4b2rw5m7ipldjtul.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.4f0k7h2weo7lnf30.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.4g7ui96oaemfodcx.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.4mhkae2t7kf1yb0q.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.4r0t3p86n5kdngi7.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.546ounu31qtbex1h.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.5648gdl2l8y10ptl.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.56c7ag08hf104u6c.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.57tvndqw9z9p9lqr.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.5ajamrgojpz4h2wl.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.l1g8jhda1okhb76.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.pugy9l9e41bpetx.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.t6t56z4x6uw6cuq.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.xwllt4upj3zwprl.rcgu.o" "-o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/form1-b84a028c8c1f9bb7.2r1uh8fsz96lt5k1.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libcpp_utils-c1eb3f6ffbefaf2f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5ac182b2a26610e.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dfb94dde79e9ab53.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-0005b96c44721c74.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b8a7b4974c01cbf3.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-186b2febaded39c9.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-afe0dcae896b226b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-55cfc224553c5fd4.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-7ccc9d31fb24c92b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-fed8bcabaae28c30.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-36c8bf2cb6e140ce.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-024113f4cac0a15f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1be0692ae6dec4e9.rlib" "-lQt5Widgets" "-lQt5Core" "-lQt5Gui" "-lstdc++" "-lQt5Gui" "-lQt5Core" "-lstdc++" "-lQt5Core" "-lstdc++" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lQt5Widgets
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `rust_qt_examples`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name form1 src/bin/form1.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=b84a028c8c1f9bb7 -C extra-filename=-b84a028c8c1f9bb7 --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.151rymesc2390ejo.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.15ov67gj9b9zwfdk.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.17e3p17hmvmig87v.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.1pucn0dqiw4ylx5n.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.1qbik1k9dna3md2a.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.1vynqk9qb6z87k23.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.1zo908ayzntnf6im.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.22741jr0lti9hfna.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.2fbkjasn2ly2t5fo.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.2u65xfi6p56w9fzo.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.2vg2nwkmrkbkwd1z.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.30bhiwl853p5gbuh.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.36es2hpssurtc3t8.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.36fdbg30l8sbz15.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.3lu2f2jgbkguftr6.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.3u77rvb4j1qu5821.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.448kshuhak82lycl.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.46634qq0exf2f3ki.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.492y1m5ddji3oy07.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.4czvswitdm9h01p1.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.4e1m1s75c3ihedog.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.4egwxariq9ebubnd.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.4f23vqf9nfftslpr.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.4h2gdv6wmvnomup2.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.501co8vehppojvgw.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.52j0ukh9jgwldypb.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.57wj8aq92j8om8qn.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.5exoy92cbhdln50l.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.7micudxd03jn44z.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.kzc0r3y3kywkjbb.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.nc0061g0i2y9o91.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.ngg1jhes08hf1t5.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.qjqh4zqvvgw30l.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.qlguj9rock16pfl.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.qoeepmv5daegurx.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.u6nyqof4aodg40e.rcgu.o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.ze1y01mlif45au4.rcgu.o" "-o" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/lights-321c4f4497ca6c6a.2h9qu9btvae655qo.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install" "-L" "/usr/local/Cellar/qt/5.13.1/lib" "-L" "/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install" "-L" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib" "/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libcpp_utils-c1eb3f6ffbefaf2f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5ac182b2a26610e.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dfb94dde79e9ab53.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-0005b96c44721c74.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b8a7b4974c01cbf3.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-186b2febaded39c9.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-afe0dcae896b226b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-55cfc224553c5fd4.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-7ccc9d31fb24c92b.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-fed8bcabaae28c30.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-36c8bf2cb6e140ce.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-024113f4cac0a15f.rlib" "/Users/tolsi/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1be0692ae6dec4e9.rlib" "-lQt53DExtras" "-lQt5Core" "-lQt5Gui" "-lQt53DCore" "-lQt53DRender" "-lQt53DInput" "-lQt53DLogic" "-lstdc++" "-lQt53DRender" "-lQt5Core" "-lQt5Gui" "-lQt53DCore" "-lstdc++" "-lQt53DLogic" "-lQt5Core" "-lQt5Gui" "-lQt53DCore" "-lstdc++" "-lQt53DInput" "-lQt5Core" "-lQt5Gui" "-lQt53DCore" "-lstdc++" "-lQt53DCore" "-lQt5Core" "-lQt5Gui" "-lstdc++" "-lQt5Gui" "-lQt5Core" "-lstdc++" "-lQt5Core" "-lstdc++" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: library not found for -lQt53DExtras
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `rust_qt_examples`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name lights src/bin/lights.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=321c4f4497ca6c6a -C extra-filename=-321c4f4497ca6c6a --out-dir /Users/tolsi/Documents/rust-qt-examples/target/debug/deps -C incremental=/Users/tolsi/Documents/rust-qt-examples/target/debug/incremental -L dependency=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps --extern qt_3d_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_core-faa6da41e0b09a2d.rlib --extern qt_3d_extras=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_extras-7aad10c82b761baf.rlib --extern qt_3d_input=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_input-d254b74383fc7032.rlib --extern qt_3d_logic=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_logic-847a36d0e3a5c8d9.rlib --extern qt_3d_render=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_3d_render-6dd967e40d3fb787.rlib --extern qt_charts=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_charts-c29e2a9d2be43139.rlib --extern qt_core=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_core-b809d07355cad67c.rlib --extern qt_gui=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_gui-62ff3b9500e65fa2.rlib --extern qt_qml=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_qml-c3c90789c0319bb4.rlib --extern qt_ui_tools=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_ui_tools-9fca8bb61450b159.rlib --extern qt_widgets=/Users/tolsi/Documents/rust-qt-examples/target/debug/deps/libqt_widgets-f89cecddc5975f83.rlib -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_core-0a79ac5618dd7081/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_core-baa11725c065af8d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_gui-223dfc06c4e9bbbc/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_extras-af27ff9163a9b067/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_input-18e822fb83272287/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_logic-8045275080f664b1/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_3d_render-4a446340e1d126b6/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_charts-33ec59aab51efdd5/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_widgets-3db8907018333fdf/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_qml-61de008a8911b49d/out/c_lib_install -L native=/usr/local/Cellar/qt/5.13.1/lib -L native=/Users/tolsi/Documents/rust-qt-examples/target/debug/build/qt_ui_tools-780a3434e2fc4605/out/c_lib_install` (exit code: 1)
> ls /usr/local/opt/qt/lib
Qt3DAnimation.framework             QtHelp.framework                    QtRepParser.framework               libQt5AccessibilitySupport.a        libQt5PlatformCompositorSupport.prl
Qt3DCore.framework                  QtLocation.framework                QtScript.framework                  libQt5AccessibilitySupport.prl      libQt5QmlDebug.a
Qt3DExtras.framework                QtMacExtras.framework               QtScriptTools.framework             libQt5Bootstrap.a                   libQt5QmlDebug.prl
Qt3DInput.framework                 QtMultimedia.framework              QtScxml.framework                   libQt5Bootstrap.prl                 libQt5QmlDevTools.a
Qt3DLogic.framework                 QtMultimediaQuick.framework         QtSensors.framework                 libQt5ClipboardSupport.a            libQt5QmlDevTools.prl
Qt3DQuick.framework                 QtMultimediaWidgets.framework       QtSerialBus.framework               libQt5ClipboardSupport.prl          libQt5ServiceSupport.a
Qt3DQuickAnimation.framework        QtNetwork.framework                 QtSerialPort.framework              libQt5DeviceDiscoverySupport.a      libQt5ServiceSupport.prl
Qt3DQuickExtras.framework           QtNetworkAuth.framework             QtSql.framework                     libQt5DeviceDiscoverySupport.prl    libQt5ThemeSupport.a
Qt3DQuickInput.framework            QtNfc.framework                     QtSvg.framework                     libQt5EdidSupport.a                 libQt5ThemeSupport.prl
Qt3DQuickRender.framework           QtOpenGL.framework                  QtTest.framework                    libQt5EdidSupport.prl               libQt5UiTools.a
Qt3DQuickScene2D.framework          QtPositioning.framework             QtTextToSpeech.framework            libQt5EventDispatcherSupport.a      libQt5UiTools.prl
Qt3DRender.framework                QtPositioningQuick.framework        QtUiPlugin.framework                libQt5EventDispatcherSupport.prl    libQtRepParser.prl
QtBluetooth.framework               QtPrintSupport.framework            QtVirtualKeyboard.framework         libQt5FbSupport.a                   libQtUiPlugin.prl
QtBodymovin.framework               QtPurchasing.framework              QtWebChannel.framework              libQt5FbSupport.prl                 libQtWebEngineCore.prl
QtCharts.framework                  QtQml.framework                     QtWebEngine.framework               libQt5FontDatabaseSupport.a         libqtfreetype.a
QtConcurrent.framework              QtQuick.framework                   QtWebEngineCore.framework           libQt5FontDatabaseSupport.prl       libqtfreetype.prl
QtCore.framework                    QtQuickControls2.framework          QtWebEngineWidgets.framework        libQt5GraphicsSupport.a             libqtlibpng.a
QtDBus.framework                    QtQuickParticles.framework          QtWebSockets.framework              libQt5GraphicsSupport.prl           libqtlibpng.prl
QtDataVisualization.framework       QtQuickShapes.framework             QtWebView.framework                 libQt5OpenGLExtensions.a            pkgconfig
QtDesigner.framework                QtQuickTemplates2.framework         QtWidgets.framework                 libQt5OpenGLExtensions.prl
QtDesignerComponents.framework      QtQuickTest.framework               QtXml.framework                     libQt5PacketProtocol.a
QtGamepad.framework                 QtQuickWidgets.framework            QtXmlPatterns.framework             libQt5PacketProtocol.prl
QtGui.framework                     QtRemoteObjects.framework           cmake                               libQt5PlatformCompositorSupport.a

qt was installed using brew

brew info qt
qt: stable 5.13.1 (bottled), HEAD [keg-only]
Cross-platform application and UI framework
https://www.qt.io/
/usr/local/Cellar/qt/5.13.1 (9,858 files, 328.2MB)
  Poured from bottle on 2019-09-10 at 01:11:57
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/qt.rb
==> Dependencies
Build: pkg-config ✔
==> Requirements
Build: xcode ✔
Required: macOS >= 10.12 ✔
==> Options
--HEAD
	Install HEAD version
==> Caveats
We agreed to the Qt open source license for you.
If this is unacceptable you should uninstall.

qt is keg-only, which means it was not symlinked into /usr/local,
because Qt 5 has CMake issues when linked.

If you need to have qt first in your PATH run:
  echo 'export PATH="/usr/local/opt/qt/bin:$PATH"' >> ~/.zshrc

For compilers to find qt you may need to set:
  export LDFLAGS="-L/usr/local/opt/qt/lib"
  export CPPFLAGS="-I/usr/local/opt/qt/include"

For pkg-config to find qt you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/qt/lib/pkgconfig"

==> Analytics
install: 41,561 (30 days), 143,939 (90 days), 601,671 (365 days)
install_on_request: 11,359 (30 days), 38,931 (90 days), 188,203 (365 days)
build_error: 0 (30 days)

How can I pass LDFLAGS and CPPFLAGS to the CC? I already tried rustflags = ["-C", "link-args=-L/usr/local/opt/qt/lib"] in build.rs, just env variables... same error.

Receive QEvent callback

How do I use QEvent to receive event callbacks? I have tried but failed. Do you have any examples? thank you!

Here's my example, but it didn't work

let event = QEvent::new(EventType::MouseMove);
event.set_accepted(true);
widget.event(&event);
let event_loop = QEventLoop::new_1a(&widget);
event_loop.event(&event);
event_loop.exec_1a(QFlags::from(ProcessEventsFlag::WaitForMoreEvents));

let state = QState::new();
let event_transition = QEventTransition::new_2a(&widget, EventType::MouseMove);
event_transition.set_target_state(&state);
event_transition.triggered().connect(&SlotNoArgs::new(&widget, move || {
    println!("event triggered...");
}));
state.add_transition_q_abstract_transition(&event_transition);
state.transitions();

`lights` example fail to compile

Hey ! I tried to run the lights example (cd examples && cargo run --bin lights)

it fail with some error about failing to compile C++ code: log.log

I'm using Arch Linux with the following compilers installed: gcc 13.2.1 and clang 16.0.6. I have Qt 5.15.11, and Qt-3D installed. I also have Qt 6 installed, maybe that's related ?

Thanks !

How to use QAbstractListModel?

Hello,

Thank you very much for your great works! Can you provide an example of how to use QAbstractListModel with rust-qt? And further registering it to QML?

Best regards!

Items in QTreeWidget don't show if initial Ref gets dropped.

With the following code:

use qt_core::*;
use qt_widgets::*;

fn main() {
	QApplication::init(|_| unsafe {
        	let main_window = QMainWindow::new_0a();

		let tree_widget = QTreeWidget::new_0a();
		tree_widget.set_column_count(1);

		//{
			let item = QTreeWidgetItem::from_q_string_list_int(&QStringList::from_q_string(&qs("item")), 0);
			tree_widget.add_top_level_item(&item);
		//}

		main_window.set_central_widget(&tree_widget);
		main_window.show();

		QApplication::exec()
	})
}

This code works as expected, but if I uncomment the two commented lines, then the item doesn't show up anymore in the QTreeWidget.

I'm sure this has something to do with the fact that the 'item' gets dropped, but is this the correct behavior? I'd expect tree_widget to take ownership of the item, so the fact that the 'item' reference goes out of scope shouldn't mean the actual QTreeWidgetItem gets deleted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.