Hello,

I can't link statically with Qt, some undefined references to libQt5DBus.

For example

qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:475: undefined reference to `QDBusUnixFileDescriptor::QDBusUnixFileDescriptor(QDBusUnixFileDescriptor const&)'
collect2: error: ld returned 1 exit status

And sure I do

TARGET_LINK_LIBRARIES( app
   Qt5::Widgets
   Qt5::Qml
   Qt5::Gui
   Qt5::DBus
   Qt5::Network
   Qt5::PrintSupport
   Qt5::Core
   )

What can be the reason of the problem?

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to