Qt5.5 auf Windows Embedded Handheld Classic 6.5 (wince 6.5)

Alles zu Entwicklungsumgebungen und Editoren für Qt
Antworten
ChriD
Beiträge: 1
Registriert: 28. Dezember 2015 02:20

Qt5.5 auf Windows Embedded Handheld Classic 6.5 (wince 6.5)

Beitrag von ChriD »

Hallo, ich versuche bereits 2 wochen vergeblich Qt 5.5 (hab aiuch Qt 4.5 usw. probiert) für wibce 6.5 zu builden.
Ich habe zwwi Rechner zur Verfügung (windows 8.1 und Windows 7) welche sich unterschiedlich verhalten und auf keinem läuft der build durch.


Was ich auf beiden rechnern bisher gemacht habe:

[*]Qt/Qt Creator für Windows installiert
[*]Visual Studio 2008 Professional Testversion installiert
[*]Windows Mobile 6 Professional SKD installiert
[*]Windows Mobile 6.5 DTK installiert
[*]Qt Visual Studio AddIn installiert
[*]Qt 5.5 everywhere sourcecode runtergeladen
[*]versucht Qt anhand folgender Doku zu builden http://doc.qt.io/qt-5/install-wince.html


Ich schaffe es aber nicht. Ich habe schon einige konfigurationen und versionen durchprobiert bleibe aber immer beim nmake hängen.

Beispiel:
set INCLUDE=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\include;C:\SDK\Windows Mobile 6.5.3 DTK\Smartphone\Include\Armv4i;
set LIB=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\SDK\Windows Mobile 6.5.3 DTK\Smartphone\Lib\Armv4i;
set PATH=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;C:\SDK\Windows Mobile 6.5.3 DTK\Smartphone\;%PATH%
set DXSDK_DIR=C:\SDK\Windows Mobile 6.5.3 DTK\Smartphone\
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
configure -platform win32-msvc2008 -xplatform wincewm65professional-msvc2005 -nomake tests
Das configure funktioniert aber das nmake wirft je nach Rechner unterschiedliche Fehler

Windows 7:
In Windows 7 bekomme ich beim nmake folgender fehlermeldungen:
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.

cl -c -Yc -Fp.pch\debug\Qt5Cored_pch.pch -Fo.pch\debug\Qt5Cored_pch.obj
-nologo -Zm200 -Zc:wchar_t- -DDEBUG -D_DEBUG -Zi -MDd -EHsc -GR -W3 -w34100 -w34
189 /Fd..\..\lib\Qt5Cored.pdb -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE
-D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DSTANDARDSHELL_UI_MODEL -D_WIN32_
WCE=0x600 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D_WIN32 -D_
_arm__ -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -D_CRT_SECUR
E_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_
USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040
800 -DNO_ERRNO_H -DPCRE_STATIC -DQT_NO_ICONV -DQT_CORE_LIB -I. -I..\3rdparty\zli
b -I..\..\include -I..\..\include\QtCore -I..\..\include\QtCore\5.5.1 -I..\..\in
clude\QtCore\5.5.1\QtCore -Itmp -Iglobal -I..\3rdparty\pcre -I..\3rdparty\harfbu
zz\src -I..\3rdparty\md5 -I..\3rdparty\md4 -I..\3rdparty\sha3 -I.moc\debug -I..\
..\mkspecs\winmobile65Std -TP global\qt_pch.h
qt_pch.h
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(363): error C2733: second C linkage of overloaded function 'wcsftime' not allowed
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(363) : see declaration of 'wcsftime'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(391): error C3861: 'memcpy_s': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(396): error C3861: 'memmove_s': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(584) : error C2039: 'memcpy_s' : is not a member of '`global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(584) : error C3861: 'memcpy_s': identifier not found
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(608) : error C2039: 'memmove_s' : is not a member of '`global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(608) : error C3861: 'memmove_s': identifier not found
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\\ce\bin\x86_arm\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Windows 8.1:
In Windows 8.1 denke ich komme ich etwas weiter. Hier habe ich dann Probleme mit OpenGL bzw directX.
Zuerst gibt mir configure aus das er keine DirectXSdk findet und danach noch die Meldung das "ANGLE" desaktiviert wird weil der compiler das nicht mehr unterstüzt und noch zusätzlich eine indo das er arch.exp nicht findet
Die Handheld SDK hat anscheinend auch keine OpenGl libs. Naja wie dem auch sei bekomme ich hier dan beim nmake die Fehlermeldung das "GLES2/gl2.h" nicht gefunden wird
cl -c -FIqt_gui_pch.h -Yuqt_gui_pch.h -Fp.pch\debug\Qt5Guid_pch.pch -nol
ogo -Zc:wchar_t -arch:SSE2 -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 /Fd..\..\lib
\Qt5Guid.pdb -DUNICODE -DWIN32 -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_B
UILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -
DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_
WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_USE_BUNDLED_LIBPNG -DPNG_A
RM_NEON_OPT=0 -DQT_ENABLE_HARFBUZZ_NG -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -D
QT_NO_EXCEPTIONS -DQT_CORE_LIB -I. -I..\..\include -I..\..\include\QtGui -I..\..
\include\QtGui\5.5.1 -I..\..\include\QtGui\5.5.1\QtGui -Itmp -I..\3rdparty\libpn
g -I..\3rdparty\zlib -I..\3rdparty\harfbuzz-ng\include -I..\3rdparty\zlib -I..\.
.\include\QtCore\5.5.1 -I..\..\include\QtCore\5.5.1\QtCore -I..\..\include\QtCor
e -I.moc\debug -I..\..\mkspecs\win32-msvc2008 -Fo.obj\debug\ @C:\Users\CHRIST~1\
AppData\Local\Temp\nmD131.tmp
qplatformgraphicsbuffer.cpp
d:\qt\5.5\src\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(99) : fatal er
ror C1083: Cannot open include file: 'GLES2/gl2.h': No such file or directory
qplatformgraphicsbufferhelper.cpp
d:\qt\5.5\src\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(99) : fatal er
ror C1083: Cannot open include file: 'GLES2/gl2.h': No such file or directory
qplatformopenglcontext.cpp
d:\qt\5.5\src\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(99) : fatal er
ror C1083: Cannot open include file: 'GLES2/gl2.h': No such file or directory
qopenglcontext.cpp
Hätte dann versucht die OpenGL ES libs und headers runterzuladen (https://www.khronos.org/opengles/) und zu benutzen.
Da bin ich kläglich gescheitert.

Jemand eine Idee wie ich es schaffe Qt5.5 zu builden oder was mein problem ist?
Ist mein Ansatz falsch? Jemand eine Idee?

DANKE & BG
Antworten