[gelöst]Qt 4.3.0 läßt sich nicht statisch kompilieren...
Verfasst: 4. Juni 2007 13:19
... unter Windows XP. Habe mir das neuste Zip-Archiv, daß am Freitag nachmittag nochmal aktualisiert wurde, gezogen:
ftp://ftp.trolltech.com/qt/source/qt-wi ... -4.3.0.zip
Folgender relevanter Output passiert (Ende des configure-Prozesses und start des Make, auffällig: make sub-src => No target to make rule!)
Mir fällt da nicht auf, was wirklich falsch sein könnte, bisher konnte ich etliche Qt-Versionen statisch mit eben diesem mingw-Compiler (der aus dem devcpp-Paket übersetzen).
Zeile 2919 im angemäkelten Makefile und Umgebung sieht so aus:
Hat jemand eine Idee...
Gruß, Gérôme
ftp://ftp.trolltech.com/qt/source/qt-wi ... -4.3.0.zip
Folgender relevanter Output passiert (Ende des configure-Prozesses und start des Make, auffällig: make sub-src => No target to make rule!)
Code: Alles auswählen
For tools/qdbus/tools/qdbusviewer/qdbusviewer.pro
For tools/qdbus/tools/qdbusxml2cpp/qdbusxml2cpp.pro
For tools/qtestlib/updater/updater.pro
For tools/tools.pro
Qt is now configured for building. Just run mingw32-make.
To reconfigure, run mingw32-make confclean and configure.
I:/Qt_4.3.0_static/bin/qmake projects.pro -o Makefile -spec win32-g++
mingw32-make -f Makefile
mingw32-make[1]: Entering directory `I:/Qt_4.3.0_static'
cd src\winmain\ && mingw32-make -f Makefile
mingw32-make[2]: Entering directory `I:/Qt_4.3.0_static/src/winmain'
I:/Qt_4.3.0_static/bin/qmake winmain.pro -o Makefile -spec win32-g++
mingw32-make -f Makefile
mingw32-make[3]: Entering directory `I:/Qt_4.3.0_static/src/winmain'
mingw32-make -f Makefile.Release
mingw32-make[4]: Entering directory `I:/Qt_4.3.0_static/src/winmain'
g++ -c -O2 -Wall -frtti -fexceptions -mthreads -DQT_THREAD_SUPPORT -DUNICODE -DQ
T_LARGEFILE_SUPPORT -DQT_NEEDS_QMAIN -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNI
NGS -DQT3_SUPPORT -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DQT_NO_DEBUG -I"..\..\inc
lude" -I"tmp" -I"..\..\include\QtCore" -I"i:\Qt_4.3.0_static\include\qtmain" -I"
tmp" -I"..\..\include\ActiveQt" -I"tmp\moc\release_static" -I"." -I"i:\Forschung
und Entwicklung\GTK2\INCLUDE" -I"i:\Forschung und Entwicklung\GTK2\INCLUDE\GTK-
2.0" -I"i:\Forschung und Entwicklung\GTK2\INCLUDE\GLIB-2.0" -I"i:\Forschung und
Entwicklung\GTK2\INCLUDE\PANGO-1.0" -I"i:\Forschung und Entwicklung\GTK2\INCLUDE
\CAIRO" -I"i:\Forschung und Entwicklung\GTK2\INCLUDE\ATK-1.0" -I"i:\Forschung un
d Entwicklung\GTK2\INCLUDE\GTKGLEXT-1.0" -I"i:\Forschung und Entwicklung\GTK2\LI
B\GTK-2.0\INCLUDE" -I"i:\Forschung und Entwicklung\GTK2\LIB\GLIB-2.0\INCLUDE" -I
"i:\Forschung und Entwicklung\GTK2\LIB\GTKGLEXT-1.0\INCLUDE" -I"i:\Forschung und
Entwicklung\GTK2\INCLUDE\LIBGLADE-2.0" -I"i:\Forschung und Entwicklung\GTK2\INC
LUDE\LIBXML2" -I"c:\Programme\Microsoft Visual Studio .NET 2003\SDK\v1.1\include
" -I"..\..\mkspecs\win32-g++" -o tmp\obj\release_static\qtmain_win.o qtmain_win.
cpp
ar -ru "..\..\lib\libqtmain.a" tmp\obj\release_static\qtmain_win.o
mingw32-make[4]: Leaving directory `I:/Qt_4.3.0_static/src/winmain'
mingw32-make[3]: Leaving directory `I:/Qt_4.3.0_static/src/winmain'
mingw32-make[2]: Leaving directory `I:/Qt_4.3.0_static/src/winmain'
cd src\tools\moc\ && mingw32-make -f Makefile
mingw32-make[2]: Entering directory `I:/Qt_4.3.0_static/src/tools/moc'
I:/Qt_4.3.0_static/bin/qmake moc.pro -o Makefile -spec win32-g++
mingw32-make -f Makefile
mingw32-make[3]: Entering directory `I:/Qt_4.3.0_static/src/tools/moc'
mingw32-make -f Makefile.Release
Makefile.Release:2919: *** multiple target patterns. Stop.
mingw32-make[4]: Entering directory `I:/Qt_4.3.0_static/src/tools/moc'
mingw32-make[4]: Leaving directory `I:/Qt_4.3.0_static/src/tools/moc'
mingw32-make[3]: *** [release] Error 2
mingw32-make[3]: Leaving directory `I:/Qt_4.3.0_static/src/tools/moc'
mingw32-make[2]: *** [all] Error 2
mingw32-make[2]: Leaving directory `I:/Qt_4.3.0_static/src/tools/moc'
mingw32-make[1]: *** [sub-moc-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `I:/Qt_4.3.0_static'
mingw32-make: *** [all] Error 2
Zeile 2919 im angemäkelten Makefile und Umgebung sieht so aus:
Code: Alles auswählen
..\..\corelib\io\qfsfileengine.h \
..\..\corelib\io\qdiriterator.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\qabstractfileengine.o ..\..\corelib\io\qabstractfileengine.cpp
release\qbytearray.o: ..\..\corelib\tools\qbytearray.cpp ..\..\corelib\tools\qbytearray.h \
..\..\..\include\QtCore\qglobal.h \
..\..\corelib\global\qglobal.h \
Gruß, Gérôme