Hello,
I am facing problems when compiling my project with your pre-built package (Qt-5.0.1-x64.7z). Actually I have the exact same problem with my own compilation of qt5.0.1/mingw64. I am using this mingw: x64-4.7.2-release-posix-sjlj-rev8.7z. My application compiles fine with the official mingw32 release or msvc2010/32bits release, and even with my own qt5.0.1/msvc2012/64bits build. But I can't seem to be able to compile with qt5/mingw64...
I have plenty of errors like that:
[code]
g++ -c -march=nocona -mtune=core2 -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_V5 -D_TTY_WIN_ -DQWT_DLL -DQT_DLL -D__TERRAIN_QPIXMAP -D__WIN_QTVLM -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_NEEDS_QMAIN -I. -I"objs" -I"Dialogs" -I"libs\bzip2" -I"libs\zlib-1.2.7" -I"libs\qextserialport" -I"libs\qjson" -I"libs\nmealib\src\nmea" -I"libs\libbsb" -I"libs\miniunz" -I"libs\libgps" -I"." -I"......\Qt\Qt64-5.0.1\include" -I"......\Qt\Qt64-5.0.1\include\QtXmlPatterns" -I"......\Qt\Qt64-5.0.1\include\QtMultimedia" -I"......\Qt\Qt64-5.0.1\include\QtWidgets" -I"......\Qt\Qt64-5.0.1\include\QtXml" -I"......\Qt\Qt64-5.0.1\include\QtConcurrent" -I"......\Qt\Qt64-5.0.1\include\QtNetwork" -I"......\Qt\Qt64-5.0.1\include\QtGui" -I"......\Qt\Qt64-5.0.1\include\QtCore" -I"objs" -I"objs" -I"c:\Qt\Qt64-5.0.1\mkspecs\win32-g++" -o objs\DialogGraphicsParams.o Dialogs\DialogGraphicsParams.cpp
In file included from c:\mingw\bin../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/stddef.h:7:0,
from c:\mingw\bin../lib/gcc/x86_64-w64-mingw32/4.7.2/include/stddef.h:1,
from ......\Qt\Qt64-5.0.1\include/QtCore/qglobal.h:46,
(some similar lines removed)
from Dialogs\DialogGraphicsParams.cpp:25:
c:\mingw\bin../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/crtdefs.h:26:9: error: 'size_t' does not name a type
In file included from c:\mingw\bin../lib/gcc/x86_64-w64-mingw32/4.7.2/include/stddef.h:1:0,
from ......\Qt\Qt64-5.0.1\include/QtCore/qglobal.h:46,
from ......\Qt\Qt64-5.0.1\include/QtGui/qwindowdefs.h:45,
from ......\Qt\Qt64-5.0.1\include/QtWidgets/qwidget.h:45,
from ......\Qt\Qt64-5.0.1\include/QtWidgets/qdialog.h:45,
from ......\Qt\Qt64-5.0.1\include/QtWidgets/qmessagebox.h:45,
from ......\Qt\Qt64-5.0.1\include/QtWidgets/QMessageBox:1,
from Dialogs\DialogGraphicsParams.cpp:25:
c:\mingw\bin../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/stddef.h:20:3: error: 'errno_t' does not name a type
c:\mingw\bin../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/stddef.h:21:3: error: 'errno_t' does not name a type
c:\mingw\bin../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/stddef.h:26:18: error: 'uintptr_t' does not name a type
c:\mingw\bin../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/stddef.h:151:1: error: '__MINGW_EXTENSION' does not name a type
and so on...
[/code]
I have tried many things.. no way. Any idea what I am doing wrong with the setup?
Thanks