Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
4.6.0
-
None
-
None
-
Windows XP SP2
MSVC 2005 (Compiler for ARM 14.00.60131)
Windows Mobile 6 Professional SDK (_WIN32_WCE = 0x502)
STLPort 5.2.1
QT everywhere 4.6.0
Description
QT everywhere 4.6.0 cannot be built out-of-the-box with STLPort.
Here's the error message from the compiler:
cl c -FIqt_pch.h -Yuqt_pch.h -Fptmp\obj\release_shared\QtCore_pch.pch -nologo -Zm200 -Zc:wchar_t -O2 -MD -W3 -w34100 -w34189 -EHsc -DQT_SHARED -DQT_THREAD_SUPPORT -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D_arm_ -DQ_OS_WINCE_WM -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -D_WIN32_WCE=0x502 -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DNO_ERRNO_H -DHB_EXPORT=Q_CORE_EXPORT -DQT_DLL -DQT_NO_DEBUG -DQT_NO_DYNAMIC_CAST -I"..\..\include" -I"..\..\include\QtCore" -I"tmp\rcc\release_shared" -I"tmp" -I"global" -I"..\3rdparty\zlib" -I"..\3rdparty\harfbuzz\src" -I"..\3rdparty\md5" -I"..\3rdparty\md4" -I"..\..\include\ActiveQt" -I"tmp\moc\release_shared" -I"..\..\mkspecs\wincewm60professional-msvc2005" -Fotmp\obj\release_shared\ @D:\DOCUME~1\root\IMPOST~1\Temp\nm97.tmp
qfuture.cpp
qfutureinterface.cpp
concurrent\qfutureinterface.cpp(500) : error C2332: 'struct' : missing tag name
concurrent\qfutureinterface.cpp(500) : error C2011: '<unnamed-tag>' : 'enum' type redefinition
concurrent\qfutureinterface.cpp(56) : see declaration of '<unnamed-tag>'
This happens because
basetyps.h and objbase.h in Windows CE 0x502 SDK define 'interface' as 'struct'. Just use another name for the variables.
See also
http://qt.gitorious.org/qt/qt/merge_requests/1731