Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build Qt 5.3 for Windows Embedded Compact 7
QtWS25 Last Chance

Build Qt 5.3 for Windows Embedded Compact 7

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.7k 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.
  • H Offline
    H Offline
    hspecht74
    wrote on last edited by
    #1

    Hi all,
    I have a problem running nmake to build Qt 5.3 for Windows Embedded Compact 7.
    Here´s what I did so far:

    1. qmake.conf looks like this:

    qmake configuration for Windows Embedded Compact 7 with VS2008 on ARM targets

    This is just a template for creating WEC7 mkspecs for ARM targets

    Replace the SDK name with actual SDK name.

    include(../common/wince/qmake.conf)

    CE_SDK = Vincell CE7 SDK # replace with actual SDK name
    CE_ARCH = armv4i

    DEFINES += QT_NO_CLIPBOARD QT_NO_ACCESSIBILITY QT_NO_NATIVE_GESTURES QT_NOSTANDARDSHELL_UI_MODEL _CRT_SECURE_NO_DEPRECATE _WIN32_WCE=0x700 $$CE_ARCH AMRV7 armv7 ARM

    QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB /ENTRY:mainACRTStartup
    QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB
    QMAKE_LFLAGS_DLL = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB /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.lib libGLESv2.lib

    QMAKE_RC = rc

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

    1. Configure from Visual Studio command prompt:
      configure -platform win32-msvc2008 -xplatform wince70vincell-armv4i-msvc2008 -developer-build -opensource -no-native-gestures -no-accessibility -nomake examples -nomake tests -rtti -qt-crt -qt-libpng -opengl es2 -skip winextras -confirm-license -prefix %INSTALLDIR%

    2. call nmake
      --> this produces errors, starting with:

    qaccessible.cpp
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(72) : error C2143:
    syntax error : missing ';' before '*'
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(72) : error C4430:
    missing type specifier - int assumed. Note: C++ does not support default-int
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(72) : error C2653:
    'QAccessible' : is not a class or namespace name
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(72) : error C2061:
    syntax error : identifier 'Id'
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(72) : error C4430:
    missing type specifier - int assumed. Note: C++ does not support default-int
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(72) : warning C4183
    : 'interfaceForId': missing return type; assumed to be a member function returni
    ng 'int'
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(73) : error C2653:
    'QAccessible' : is not a class or namespace name
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(73) : error C2146:
    syntax error : missing ';' before identifier 'insert'
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(73) : error C4430:
    missing type specifier - int assumed. Note: C++ does not support default-int
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(73) : error C2061:
    syntax error : identifier 'QAccessibleInterface'
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(73) : error C4430:
    missing type specifier - int assumed. Note: C++ does not support default-int
    c:\qt\5.3\src\qtbase\src\gui\accessible\qaccessiblecache_p.h(73) : warning C4183
    : 'insert': missing return type; assumed to be a member function returning 'int'
    ...

    According to this post (https://bugreports.qt-project.org/browse/QTBUG-32329) the error occurs when QT_NO_ACCESSIBILITY is not defined in the mkspec, but it´s defined in mine and also in the configure options. The output of configure tells me that accessibility is not included.

    Any idea how to solve this?

    Thanks in advance,

    Hinrich

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hspecht74
      wrote on last edited by
      #2

      No ideas? :-(

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kzawada
        wrote on last edited by
        #3

        Any movement on this? I'm getting the same error.

        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