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. Installing for WinCE

Installing for WinCE

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 6.0k 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.
  • P Offline
    P Offline
    pinibz
    wrote on last edited by
    #1

    Hi

    I am new at Qt and trying to install Qt for WinCE. I searched the forums for my problem but didn't see something quite like my problem.
    So:
    I followed the instructions here:
    http://developer.qt.nokia.com/wiki/Building-Qt-4.7.4-for-WindowsCE-StandardSDK

    I try to install for VS2008, standard WinCE 5 SDK.

    When doing:
    configure -platform win32-msvc2008 -xplatform wince50standard-armv4i-msvc2008 -release -D QT_NO_CURSOR=1 -qt-sql-sqlite

    (I just changed QT_NO_CURSOR=1 to QT_NO_CURSOR=0 but this is not relevant to my problem, I think).

    When it does the nmake I get in the end:

    @Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
    Copyright (C) Microsoft Corporation. All rights reserved.

        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -MP -W3 -w34100 -w34189 -DUNIC
    

    ODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CURSOR=0 -DQT_BOOTSTRAPPED -DQT_LITE_
    UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DAT
    ASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO
    _SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_US
    ING_NAMESPACE -DQT_NODLL -DQT_NO_DYNAMIC_CAST -I"......\include" -I"......\i
    nclude\QtCore" -I"......\include\QtXml" -I"....\3rdparty\zlib" -I"......\mk
    specs\win32-msvc2008" -Fotmp\obj\release_shared\ @C:\DOCUME~1\pinibz\LOCALS~1\Te
    mp\nm22B0.tmp
    cl : Command line warning D9002 : ignoring unknown option '-MP'
    qisciicodec.cpp
    C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106) : fata
    l error C1189: #error : ERROR: Use of C runtime library internal header file.
    qlatincodec.cpp
    C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106) : fata
    l error C1189: #error : ERROR: Use of C runtime library internal header file.
    qsimplecodec.cpp
    C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106) : fata
    l error C1189: #error : ERROR: Use of C runtime library internal header file.
    qtextcodec.cpp
    C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\include\ARMV4I\winnt.h(
    2975) : error C2146: syntax error : missing ';' before identifier 'ContextRecord
    '
    C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\include\ARMV4I\winnt.h(
    2975) : error C4430: missing type specifier - int assumed. Note: C++ does not su
    pport default-int
    C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\include\ARMV4I\winnt.h(
    2975) : error C4430: missing type specifier - int assumed. Note: C++ does not su
    pport default-int
    c:\qt\4.7.4ce\mkspecs\win32-msvc2008../win32-msvc2005/qplatformdefs.h(60) : fat
    al error C1083: Cannot open include file: 'io.h': No such file or directory
    qtsciicodec.cpp
    C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106) : fata
    l error C1189: #error : ERROR: Use of C runtime library internal header file.
    qutfcodec.cpp
    C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106) : fata
    l error C1189: #error : ERROR: Use of C runtime library internal header file.
    Generating Code...
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\ce
    bin\x86_arm\cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
    \nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    Building src/tools failed, return code 2
    @

    And obviously it looks like it failed.

    Any idea?

    thanks in advance.
    Pini

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Welcome to devnet

      The cross compilation I did used only "-D QT_NO_CURSOR" without assignment.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pinibz
        wrote on last edited by
        #3

        Thanks.
        That would suggest that QT_NO_CURSOR will still be defined. I do want to use the cursor support. May I should just ommit this.
        I am not sure it's related to the nmake errors though.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Frankly, I do not know.

          I have compiled Qt for WinCE 5 a while ago using msvc 2005. Besides the obvious differences for referencing msvc2005 I have used "-D QT_NO_CURSOR" only. So, you have added "-release" and "-qt-sql-sqlite".

          After the configuration there is a batch called: "setcepaths wince50standard-armv4i-msvc2005"
          and the start of the nmake through the vs command prompt.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • D Offline
            D Offline
            draimond
            wrote on last edited by
            #5

            Hi,

            I met a similar problem and if you don't find the solution, please let's have a look in your environment var if you didn't define a QMAKESPEC var with a mkspecs which is not the target one. If QMAKESPEC is defined, the configure tool keeps the content of this var even if you specify a different -xplatform target on the configure cmdline. You may try to remove the QMAKESPEC or to give it the target mkspecs. It solved my problem.

            Regards.
            David.

            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