Function qt_build_utils::setup_linker
source · pub fn setup_linker()
Expand description
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.
This does nothing on non-Unix platforms.