QtCore4.dll

Stephan Kulow coolo at kde.org
Thu Nov 9 08:13:55 CET 2006


Hi!

I found out why kpat requires QtCore4 - it links both against Core and 
Cored, everything in kdegames does: E.g.

kdegames_LIB_DEPENDS:STATIC=C:/kde/qt-win-opensource-src-4.2.1/lib/QtCore4.lib;C:/kde/qt-win-opensource-src-4.2.1/lib/QtCored4.lib;kdecore;c:/kde/inst/lib/kdewin32d.lib;user32;shell32;ws2_32;C:/kde/qt-win-opensource-src-4.2.1/lib/QtXml4.lib;C:/kde/qt-win-opensource-src-4.2.1/lib/QtXmld4.lib;kdeui;kutils;kparts;kio;c:/kde/inst/lib/kde3support.lib;C:/kde/qt-win-opensource-src-4.2.1/lib/QtCore4.lib;C:/kde/qt-win-opensource-src-4.2.1/lib/QtCored4.lib;kdecore;c:/kde/inst/lib/kdewin32d.lib;user32;shell32;ws2_32;c:/kde/inst/lib/kdnssd.lib;C:/kde/qt-win-opensource-src-4.2.1/lib/QtXml4.lib;C:/kde/qt-win-opensource-src-4.2.1/lib/QtXmld4.lib;C:/kde/qt-win-opensource-src-4.2.1/lib/QtNetwork4.lib;C:/kde/qt-win-opensource-src-4.2.1/lib/QtNetworkd4.lib;

As you can see it links all Qt libs twice. If I remove the QtCore4.lib 
manually, kpat starts up fine, if not it crashes in random places, which 
indicate that kpat uses different (binary incompatible) QMap code than 
kdelibs does. But I have no idea where the code to create this, but I guess 
in cmake itself.

Greetings, Stephan



More information about the Kde-buildsystem mailing list