libdbus-1.a
libdbus-1.dll
libdbus-1.dll.a
libdbus-1d.a
libdbus-1d.dll
libdbus-1d.dll.a
Nun versuchte ich Qt4.3.0 einmal statisch und einmal dynamisch zu compilieren/linken, -jeweils als debug und release Version.
Bei der Shared-Version von Qt4.3.0 funktionierte es. Die Static-Version von Qt4.3.0 bricht unter /tools/qdbus/tools/qdbus ab.
Auszug:
Die Fehlermeldung ist "D:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtCore4 "mingw32-make[2]: Leaving directory `D:/Qt/4.3.0st/tools/qdbus/src'
cd tools\ && mingw32-make -f Makefile
mingw32-make[2]: Entering directory `D:/Qt/4.3.0st/tools/qdbus/tools'
cd qdbus\ && mingw32-make -f Makefile
mingw32-make[3]: Entering directory `D:/Qt/4.3.0st/tools/qdbus/tools/qdbus'
mingw32-make -f Makefile.Release
mingw32-make[4]: Entering directory `D:/Qt/4.3.0st/tools/qdbus/tools/qdbus'
g++ -c -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_THRE
AD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtXml" -I"..\..\..\..\in
clude\QtXml" -I"..\..\..\..\include" -I"..\..\..\..\include\QtDBus" -I"d:\Qt\openssl\include" -I"d:\Qt\dbus\include" -I"
tmp\moc\release_static" -I"..\..\..\..\include\ActiveQt" -I"." -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\release_stat
ic\qdbus.o qdbus.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-subsystem,console -Wl -o
"..\..\..\..\bin\qdbus.exe" tmp\obj\release_static\qdbus.o -L"d:\Qt\4.3.0st\lib" -L"d:\Qt\4.3.0st\lib" -lQtDBus -lnetap
i32 -ldbus-1 -LC:\Programme/dbus/lib -lQtXml -lQtCore -lQtCore4 -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32
-lws2_32 -LD:\Qt\openssl\lib -LD:\Qt\dbus\lib
D:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtCore4
collect2: ld returned 1 exit status
mingw32-make[4]: *** [..\..\..\..\bin\qdbus.exe] Error 1
mingw32-make[4]: Leaving directory `D:/Qt/4.3.0st/tools/qdbus/tools/qdbus'
mingw32-make[3]: *** [release] Error 2
mingw32-make[3]: Leaving directory `D:/Qt/4.3.0st/tools/qdbus/tools/qdbus'
mingw32-make[2]: *** [sub-qdbus-make_default] Error 2
mingw32-make[2]: Leaving directory `D:/Qt/4.3.0st/tools/qdbus/tools'
mingw32-make[1]: *** [sub-tools-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `D:/Qt/4.3.0st/tools/qdbus'
mingw32-make: *** [sub-qdbus-make_default-ordered] Error 2
Was fehlt nun? Der Compelier- und Linkvorgang unter D:/Qt/4.3.0st/src ist vollständig einwandfrei abgeschlossen worden. Jetzt unter D:/Qt/4.3.0st/tools fehlt ihm lQtCore4 ?
Ich habe auch keine lQtCore4 (unter der statischen Version von Qt) sondern nur lQtCore
lQtCore4 ist nur unter der Shared-Version vorhanden...?
Vielen Dank für jede Art von Hinweisen!
Grüße John
PS.: wie man erkennt, habe ich nicht so viel Ahnung von Libs und linken etc...
EDIT:
ich habe für die Static-Version von Qt auch DBUS statisch compiliert. -hat auch geklappt. Mich wundert halt nur, wer/was lQtCore4 (nicht lQtCore!) braucht?