Results 1 to 1 of 1

Thread: Installing QT 5.5 on WINCE 6.0 / Windows Mobile 6

  1. #1
    Join Date
    Dec 2015
    Location
    Austria
    Posts
    23
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Windows Android

    Question Re: Installing QT 5.5 on WINCE 6.0 / Windows Mobile 6

    Hi,

    I'm trying to install/build Qt 5.5 for WinCE (ARM) with Windows Mobile 6 Professional SDK but i run into Problems while building the stuff
    What did i do so far:

    1) installed Qt/Qt Creator for Windows
    2) Installed Visual Studio 2008 Professional
    3) Installed Windows Mobile 6 Professional SDK
    4) Installed Qt Visual Studio AddIn
    5) Downloaded Qt 5.5 everywhere source code
    6) tried to build Qt with following documentation: http://doc.qt.io/qt-5/install-wince.html

    But the 'configure'
    Qt Code:
    1. configure -platform win32-msvc2008 -xplatform winmobile6Pro -nomake examples -nomake tests
    To copy to clipboard, switch view to plain text mode 
    stops with this error:
    Qt Code:
    1. NMAKE: fatal error U1077: invalid integer constant expression (qstring.h (135))
    To copy to clipboard, switch view to plain text mode 

    It seems that the VS2008 Compiler can't handle some macros.
    What can i do?

    Another prolem seems to be that the wrong compiler is used.
    The error message us thrown by the standard x86 compiler
    Qt Code:
    1. "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\"
    To copy to clipboard, switch view to plain text mode 
    instead of the x86_arm crosscompiler for wince
    Qt Code:
    1. "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm"
    To copy to clipboard, switch view to plain text mode 
    But the qmake for winmobile6Pro seems to be correct
    Qt Code:
    1. CE_SDK = Windows Mobile 6 Professional SDK # replace with actual SDK name
    2. CE_ARCH = ARMV4I
    To copy to clipboard, switch view to plain text mode 

    Can anyone please help me? Does anyone know what i did wrong?

    Thank you very much!
    ChriD


    Added after 1 38 minutes:


    Well,

    I managed to configure without any Errors by Setting the cross Compiler stuff fisrt and then set up the VS8 vcvars like this

    Qt Code:
    1. set INCLUDE=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\include;C:\SDK\WindowsMobile6Pro\PocketPC\Include\Armv4i;
    2. set LIB=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\SDK\WindowsMobile6Pro\PocketPC\Lib\Armv4i;
    3. set PATH=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%
    4. C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
    5.  
    6.  
    7. configure -platform win32-msvc2008 -xplatform winmobile6Pro -nomake examples -nomake tests
    To copy to clipboard, switch view to plain text mode 

    But now i got stuck on nmake with following error:
    Qt Code:
    1. error: Second C linkage of overloaded function 'wcsftime' not allowed
    2. error: memcpy_s: identifier not found
    3. ...
    4. ...
    To copy to clipboard, switch view to plain text mode 

    It's the same error mentioned here but there is no solution
    https://forum.qt.io/topic/49717/buil...on-error-c2733
    Last edited by ChriD; 28th December 2015 at 13:10.

Similar Threads

  1. Personal Notofications windows in windows mobile
    By Ricardo_arg in forum Qt Programming
    Replies: 4
    Last Post: 29th June 2012, 11:22
  2. Replies: 0
    Last Post: 2nd February 2012, 08:58
  3. Replies: 1
    Last Post: 21st September 2010, 08:58
  4. wince project doesn't work on wince, but works on win mobile
    By thedimitrius in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 29th March 2010, 12:01
  5. Windows / WinCE VS2005 Build Questions
    By yatest5 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 30th November 2009, 13:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.