Qt 4.8.5 will not compile statically -


i'm trying compile qt statically.

i download source of qt 4.8.5, edited qmake file in /mkspecs/win32-g++ include -static @ qmake_lflags , ran "c:\qt\qt-everywhere-opensource-src-4.8.5>configure -platform win32-g++ -static - release -no-exceptions"

which gave me:

creating qmake... g++ -c -oproject.o -o -i. -igenerators -igenerators/unix -igenerators/win32 -ige nerators/mac -igenerators/symbian -igenerators/integrity -ic:\qt\qt-everywhere-o pensource-src-4.8.5/include -ic:\qt\qt-everywhere-opensource-src-4.8.5/include/q tcore -ic:\qt\qt-everywhere-opensource-src-4.8.5/include -ic:\qt\qt-everywhere-o pensource-src-4.8.5/include/qtcore -ic:\qt\qt-everywhere-opensource-src-4.8.5/sr c/corelib/global -ic:\qt\qt-everywhere-opensource-src-4.8.5/src/corelib/xml -ic: \qt\qt-everywhere-opensource-src-4.8.5/mkspecs/win32-g++ -ic:\qt\qt-everywhere-o pensource-src-4.8.5/tools/shared -dqt_no_textcodec -dqt_no_unicodetables -dqt_li te_component -dqt_no_pcre -dqt_nodll -dqt_no_stl -dqt_no_compress -dunicode -dha ve_qconfig_cpp -dqt_build_qmake -dqt_no_thread -dqt_no_qobject -dqt_no_geom_vari ant -dqt_no_datastream -dqt_bootstrapped -dqlibraryinfo_epocroot -dqmake_opensou rce_edition project.cpp process_begin: createprocess(null, g++ -c -oproject.o -o -i. -igenerators -igene rators/unix -igenerators/win32 -igenerators/mac -igenerators/symbian -igenerator s/integrity -ic:\qt\qt-everywhere-opensource-src-4.8.5/include -ic:\qt\qt-everyw here-opensource-src-4.8.5/include/qtcore -ic:\qt\qt-everywhere-opensource-src-4. 8.5/include -ic:\qt\qt-everywhere-opensource-src-4.8.5/include/qtcore -ic:\qt\qt -everywhere-opensource-src-4.8.5/src/corelib/global -ic:\qt\qt-everywhere-openso urce-src-4.8.5/src/corelib/xml -ic:\qt\qt-everywhere-opensource-src-4.8.5/mkspec s/win32-g++ -ic:\qt\qt-everywhere-opensource-src-4.8.5/tools/shared -dqt_no_text codec -dqt_no_unicodetables -dqt_lite_component -dqt_no_pcre -dqt_nodll -dqt_no_ stl -dqt_no_compress -dunicode -dhave_qconfig_cpp -dqt_build_qmake -dqt_no_threa d -dqt_no_qobject -dqt_no_geom_variant -dqt_no_datastream -dqt_bootstrapped -dql ibraryinfo_epocroot -dqmake_opensource_edition project.cpp, ...) failed. make (e=2): system cannot find file specified. mingw32-make: *** [project.o] error 2 del project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.o option.o win makefile.o projectgenerator.o property.o meta.o makefiledeps.o metamakefile.o xm loutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_vcproj.o msvc_vcxproj .o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian. o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o gbuild.o qbitarray.o qbuffer.o qbytearray.o qcryptographichash.o qvsnprintf.o qbytearraym atcher.o qconfig.o qdatetime.o qdir.o qdiriterator.o qfile.o qtemporaryfile.o qf ileinfo.o qabstractfileengine.o qfilesystementry.o qfilesystemengine.o qfilesyst emengine_win.o qfilesystemiterator_win.o qfsfileengine.o qfsfileengine_iterator. o qfsfileengine_win.o qglobal.o qhash.o qiodevice.o qlibraryinfo.o qlist.o qlink edlist.o qlocale.o qlocale_tools.o qlocale_win.o qmalloc.o qmap.o qregexp.o qtex tcodec.o qutfcodec.o qstring.o qstringlist.o qsystemerror.o qsystemlibrary.o qte xtstream.o quuid.o qvector.o qsettings.o qsettings_win.o qvariant.o qmetatype.o qxmlstream.o qxmlutils.o qnumeric.o not find c:\qt\qt-everywhere-opensource-src-4.8.5\qmake\project.o g++ -c -oproject.o -o -i. -igenerators -igenerators/unix -igenerators/win32 -ige nerators/mac -igenerators/symbian -igenerators/integrity -ic:\qt\qt-everywhere-o pensource-src-4.8.5/include -ic:\qt\qt-everywhere-opensource-src-4.8.5/include/q tcore -ic:\qt\qt-everywhere-opensource-src-4.8.5/include -ic:\qt\qt-everywhere-o pensource-src-4.8.5/include/qtcore -ic:\qt\qt-everywhere-opensource-src-4.8.5/sr c/corelib/global -ic:\qt\qt-everywhere-opensource-src-4.8.5/src/corelib/xml -ic: \qt\qt-everywhere-opensource-src-4.8.5/mkspecs/win32-g++ -ic:\qt\qt-everywhere-o pensource-src-4.8.5/tools/shared -dqt_no_textcodec -dqt_no_unicodetables -dqt_li te_component -dqt_no_pcre -dqt_nodll -dqt_no_stl -dqt_no_compress -dunicode -dha ve_qconfig_cpp -dqt_build_qmake -dqt_no_thread -dqt_no_qobject -dqt_no_geom_vari ant -dqt_no_datastream -dqt_bootstrapped -dqlibraryinfo_epocroot -dqmake_opensou rce_edition project.cpp process_begin: createprocess(null, g++ -c -oproject.o -o -i. -igenerators -igene rators/unix -igenerators/win32 -igenerators/mac -igenerators/symbian -igenerator s/integrity -ic:\qt\qt-everywhere-opensource-src-4.8.5/include -ic:\qt\qt-everyw here-opensource-src-4.8.5/include/qtcore -ic:\qt\qt-everywhere-opensource-src-4. 8.5/include -ic:\qt\qt-everywhere-opensource-src-4.8.5/include/qtcore -ic:\qt\qt -everywhere-opensource-src-4.8.5/src/corelib/global -ic:\qt\qt-everywhere-openso urce-src-4.8.5/src/corelib/xml -ic:\qt\qt-everywhere-opensource-src-4.8.5/mkspec s/win32-g++ -ic:\qt\qt-everywhere-opensource-src-4.8.5/tools/shared -dqt_no_text codec -dqt_no_unicodetables -dqt_lite_component -dqt_no_pcre -dqt_nodll -dqt_no_ stl -dqt_no_compress -dunicode -dhave_qconfig_cpp -dqt_build_qmake -dqt_no_threa d -dqt_no_qobject -dqt_no_geom_variant -dqt_no_datastream -dqt_bootstrapped -dql ibraryinfo_epocroot -dqmake_opensource_edition project.cpp, ...) failed. make (e=2): system cannot find file specified. mingw32-make: *** [project.o] error 2 building qmake failed, return code 2 

ok solution need mingw 4.4 http://nosymbolfound.blogspot.co.uk/2012/12/since-until-now-qt-under-windows-is.html

i don't know why worked.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -