Important: Please read the Qt Code of Conduct -

Building Qt 5.4.2 for Windows Embedded Compact 7 (WEC7) on ARM platform

  • Hi Everyone,

    I am trying to build Qt 5.4.2 opensource for Windows Embedded Compact 7 (WEC7) on ARM platform. The reason for this build is to port an existing Windows desktop application that I have to this platform. The application uses Qt Quick and QML as well as Qt WebKit, which means I need to link to ICU (International Component for Unicode) and a Graphic Driver which supports OpenGL 2.1 or higher.

    Now the issue is this, when I configure the build and I use: -opengl desktop I get this error:

    c:\qt\qt542\qtbase\include\qtgui../../src/gui/opengl/qopengl.h(122) : fatal error C1083: Cannot open include file: 'GL/gl.h': No such file or directory

    I tried using -opengl es2 -angle but then that first shows this message:
    ANGLE specified, but the DirectX SDK could not be detected: The build will most likely fail.

    and then the build fails. I do have the DirectX 11 already install, under C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\arm so not sure why it won't compile

    Using -opengl dynamic also fails.

    I'm using MSVC 2008 for my build on a Windows 7 64bit.
    The target is Windows Embedded Compact 7 on ARM

    I appreciate if you can shed some light on this issue.

    Many thanks,

    Complete Configrure Command
    configure -prefix %CD%\qtbase -platform win32-msvc2008 -xplatform wince70embedded-armv4i-msvc2008 -debug-and-release -opensource -opengl desktop -icu -skip qtmultimedia -no-accessibility -no-warnings-are-errors -nomake examples -nomake tests -I %ICU_INC% -L %ICU_LIB% -make-tool %JOM_PATH%