[Qt-interest] error from building qt statically with mingw

James Yan jyan972 at gmail.com
Fri Jan 9 01:02:07 CET 2009


hey qters,
  i got an error during building qt statically, and i can understand what's
wrong, does anybody try to build qt statically with mingw on winows? give me
a hint.

qt        : 4.4.3
mingw  : 3.4.2
os        : windows xp
err msg :

g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT
-DQT_UIC_CPP_GENERATOR -DQT_COMPAT -DQT_UIC3 -DQT_NO_DEBUG
-DQT_QT3SUPPORT_LIB -
DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"..\.
.\..\include\QtCore" -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui"
-I".
.\..\..\include\QtGui" -I"..\..\..\include\QtXml" -I"..\..\..\include\QtXml"
-I"
..\..\..\include\Qt3Support" -I"..\..\..\include\Qt3Support"
-I"..\..\..\include
" -I"..\uic" -I"..\uic\cpp" -I"..\uic" -I"." -I"c:\qt\include\ActiveQt"
-I"tmp\m
oc\release_static" -I"." -I"..\..\..\mkspecs\win32-g++" -o
tmp\obj\release_stati
c\widgetinfo.o widgetinfo.cpp
Assembler messages:
FATAL: can't create tmp\obj\release_static\widgetinfo.o: Invalid argument
mingw32-make[2]: *** [tmp/obj/release_static/widgetinfo.o] Error 1
mingw32-make[2]: Leaving directory `C:/qt/src/tools/uic3'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/qt/src/tools/uic3'
mingw32-make: *** [sub-uic3-make_default-ordered] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090109/daba1bd5/attachment.html 


More information about the Qt-interest-old mailing list