[Interest] Statically linked Qt
Igor Mironchik
igor.mironchik at gmail.com
Thu Jul 19 17:54:31 CEST 2018
Hi,
On 19.07.2018 17:37, Thiago Macieira wrote:
> On Thursday, 19 July 2018 00:12:49 PDT Igor Mironchik wrote:
>> 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&)'
> Please confirm that
> a) libQt5DBus.a exists
> b) qdbusunixfiledescriptor.o was compiled (qtbase/src/dbus)
> c) the copy constructor is defined in that .o (use nm to see)
a, b, c - YES. With Qt all is fine.
Was problem in order of linking.
More information about the Interest
mailing list