WEC7 x86
-
Hello - has anyone built Qt 5.x for WEC7 x86 (-xplatform wince70embedded-x86-msvc2008)? I've downloaded 5.6 and can build Win32 using the VS2008 compiler, but I run into errors right away trying to build for WEC7. Here's what I'm currently trying:
set QTDIR=C:\Qt\5.6\Src\qtbase
cd \Qt\5.6\Src\qtbase
configure.exe -opensource -confirm-license -make libs -make tools -make examples -make tests -no-incredibuild-xge -release -platform win32-msvc2008 -xplatform wince70embedded-x86-msvc2008 -no-accessibility -opengl es2 -rttiI'm open to using any version of Qt that works -thanks.
-
@carljoerger You should write what errors you get.
-
You should run it from appropriate VS command-line tools (which contains desired WEC7 env and so on), as I remember.
-
I'm running this from the VS2008 command prompt. This is the error that I get:
Creating qmake...
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.Running configuration tests...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.EXE"' : return code '0x2'
Stop.
Could not find output file 'arch.exe' or 'arch' in C:/Qt/5.6/Src/qtbase/config.tests/arch : No such file or directory
Done running configuration tests. -
How do I clean and rebuild? I tried nmake confclean
C:\Qt\5.6\Src\qtbase>nmake confclean
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.NMAKE : fatal error U1073: don't know how to make 'confclean'
Stop. -
Ok - all is well now. I am now building Qt for WEC7 x86. Does anyone know if I can have OpenGL support for this?
qmake configuration for Windows Embedded Compact 7 with VS2008 on x86 targets
This is just a template for creating WEC7 mkspecs for x86 targets
Replace the SDK name with actual SDK name.
include(../common/wince/qmake.conf)
CE_SDK = PFM-CVSB # replace with actual SDK name (such as CE7VM, Advantech_PCM_9562, PFM-CVSB)
CE_ARCH = X86DEFINES += QT_NO_CLIPBOARD QT_NO_ACCESSIBILITY QT_NO_NATIVE_GESTURES QT_NOSTANDARDSHELL_UI_MODEL _CRT_SECURE_NO_DEPRECATE _WIN32_WCE=0x700 $$CE_ARCH X86 _M_IX86
QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:X86
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:X86
QMAKE_LFLAGS_DLL = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:X86 /DLL /SAFESEH:NO
QMAKE_LIBFLAGS_RELEASE = /LTCG
QMAKE_LIBS = corelibc.lib coredll.lib
QMAKE_LIBS_CORE = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
QMAKE_LIBS_GUI = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
QMAKE_LIBS_NETWORK = ws2.lib $$QMAKE_LIBS_GUI
QMAKE_LIBS_OPENGL =
QMAKE_LIBS_COMPAT =
QMAKE_LIBS_OPENVG = libopenvg.lib
QMAKE_LIBS_OPENGL_ES2 = $${LIBEGL_NAME}.lib $${LIBGLESV2_NAME}.libQMAKE_RC = rc
QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
QMAKE_COMPILER_DEFINES += _MSC_VER=1500