[Interest] Statically linked Qt
Igor Mironchik
igor.mironchik at gmail.com
Thu Jul 19 09:12:49 CEST 2018
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?
More information about the Interest
mailing list