Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. WEC7 x86
Forum Update on Tuesday, May 27th 2025

WEC7 x86

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    carljoerger
    wrote on last edited by
    #1

    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 -rtti

    I'm open to using any version of Qt that works -thanks.

    jsulmJ 1 Reply Last reply
    0
    • C carljoerger

      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 -rtti

      I'm open to using any version of Qt that works -thanks.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @carljoerger You should write what errors you get.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kuzulis
        Qt Champions 2020
        wrote on last edited by
        #3

        You should run it from appropriate VS command-line tools (which contains desired WEC7 env and so on), as I remember.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          carljoerger
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            carljoerger
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              carljoerger
              wrote on last edited by
              #6

              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 = X86

              DEFINES += 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}.lib

              QMAKE_RC = rc

              QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
              QMAKE_COMPILER_DEFINES += _MSC_VER=1500

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved