Crate qt_build_utils

source ·
Expand description

This crate provides information about the Qt installation and can invoke Qt’s moc code generator. This crate does not build any C++ code on its own. It is intended to be used in build.rs scripts together with cc, cxx_build, or cpp_build.

Structs§

Enums§

Functions§

  • Linking executables (including tests) with Cargo that link to Qt fails to link with GNU ld.bfd, which is the default on most Linux distributions, so use GNU ld.gold, lld, or mold instead. If you are using a C++ build system such as CMake to do the final link of the executable, you do not need to call this function.