Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qt 5.6 build error for wince 6.0



  • hello,
    I'm trying to build qt5.6 for wince 6.0 with msvc 2008. My configuration is as follows:
    configure -platfrom win32-msvc2008 -xplatform wince60tcc8801-armv4i-msvc2008 -qt-sql-sqlite -nomake tests -nomake examples

    After configuration, during the build I got these error messages:

        cl -c -nologo -Zm200 -Zc:wchar_t- -DDEBUG -D_DEBUG -Zi -MDd -EHs-c- -W3
    

    -w34100 -w34189 /Fd......\lib\Qt5Bootstrapd.pdb -DUNDER_CE -DWINCE -D_WINDOWS
    -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DSTANDARDSHEL
    L_UI_MODEL -D_WIN32_WCE=0x600 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_AR
    M -DARM -D_WIN32 -D__arm__ -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_A
    SCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_S
    YSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO
    DEPRECATED -DQT_NO_TRANSLATION -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_NO_CAST_FR
    OM_ASCII -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D

    USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDE
    R -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DNO_ERRNO_H
    -DQT_NO_EXCEPTIONS -DQT_NO_DYNAMIC_CAST -I. -I....\3rdparty\zlib -I......\inc
    lude -I......\include\QtCore -I......\include\QtCore\5.6.0 -I......\includ
    e\QtCore\5.6.0\QtCore -I......\include\QtXml -I......\include\QtXml\5.6.0 -I
    ......\include\QtXml\5.6.0\QtXml -Itmp -I......\mkspecs\wince60tcc8801-armv4
    i-msvc2008 -Fo.obj\debug\ @C:\Users\signet\AppData\Local\Temp\nm5C77.tmp
    qfilesystemengine_win.cpp
    ....\corelib\io\qfilesystemengine_win.cpp(1388) : error C2653: 'QCoreApplication' : is not a class or namespace name
    ....\corelib\io\qfilesystemengine_win.cpp(1388) : error C3861: 'applicationDirPath': identifier not found
    qfsfileengine_win.cpp
    ....\corelib\io\qfsfileengine_win.cpp(966) : error C2248: 'QString::QString' :cannot access private member declared in class 'QString'
    c:\qt\5.6.0\qtbase\include\qtcore../../src/corelib/tools/qstring.h(788)
    : 'QString::QString'
    c:\qt\5.6.0\qtbase\include\qtcore../../src/corelib/tools/qstring.h(211)
    : 'QString'

    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0
    VC\ce\bin\x86_arm\cl.EXE"' : '0x2' return code
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0
    VC\BIN\nmake.exe"' : '0x2' return code
    Stop.

    Do you have any solutions. please help

    Thanks