Results 1 to 2 of 2

Thread: Shadow build possible using Mobile 6 SDK?

  1. #1
    Join Date
    Sep 2010
    Posts
    13
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Shadow build possible using Mobile 6 SDK?

    I've been trying to do a shadow build of 4.7 (and 4.6.3) from the mobile 6 ARM SDK from Microsoft using VS2008 Pro and Windows Mobile 6 Professional SDK Refresh.msi. We've been using this SDK for an MFC application but we'd like to evaluate Qt.

    When I try the shadow build, setting up the INCLUDE, LIB and PATH to point at the SDK I get errors like:

    tools\qbytearray.cpp(137) : error C3861: 'strcpy_s': identifier not found
    C:\Program Files (x86)\Windows Mobile 6 SDK\PocketPC\Include\Armv4i\types.h(59)
    : error C2143: syntax error : missing ';' before '*'

    My question: Is it possible to build Qt using only the mobile 6 SDK or do I have to have the OS guys build an SDK for our CE image? Or am I doing something wrong with the build?

    Here is the buid setup:
    set PATH=%PATH%;C:\Perl\bin
    set QTDIR=C:\Qt\Qt.4.7.0.VS9
    set PATH=%PATH%;C:\Qt\Qt.4.7.0.VS9\bin;c:\qt\Qt.4.7.0. ce6\bin
    C:\Qt\Qt.4.7.0.VS9\configure -opensource -platform win32-msvc2008 -xplatform wincewm65professional-msvc2008 -nomake examples -nomake demos -stl -shared -webkit -qt-libtiff -qt-libpng -qt-libjpeg -qt-zlib -no-qt3support -opengl-es-cm -exceptions > config.log

    set INCLUDE=C:\Program Files (x86)\Windows Mobile 6 SDK\PocketPC\Include\Armv4i
    set LIB=C:\Program Files (x86)\Windows Mobile 6 SDK\PocketPC\Lib\Armv4i
    set INCLUDE=%INCLUDE%;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include

    set INCLUDE=%INCLUDE%;C:\Qt\ogles-bin-1.0.0\include
    set LIB=%LIB%;C:\Qt\ogles-bin-1.0.0\bin\arm\Release

    set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%

    nmake

  2. #2
    Join Date
    Sep 2010
    Posts
    13
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Shadow build possible using Mobile 6 SDK?

    I did find that the mkspec forwincewm60professional-msvc2008 defined the CE version as 0x502, which didn't match what we were using (0x600). I fixed that in the mkspec and now I'm getting the dreaded

    C2733 second C linkage of overloaded function 'InterlockedExchange' not allowed
    c:\qt\qt.4.7.0.ce6\include\qtcore\../../../Qt.4.7.0.VS9/src/corelib/arch/qatomic_windows.h(138) : see declaration of 'InterlockedExchange'

Similar Threads

  1. QMenu without shadow
    By furj in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2013, 21:00
  2. Replies: 7
    Last Post: 2nd November 2009, 19:07
  3. About QTreeView's shadow.
    By yangyunzhao in forum Qt Programming
    Replies: 3
    Last Post: 19th August 2009, 08:52
  4. Shadow build QT for the win32-g++ (MinGw) platform.
    By Avrohom in forum Installation and Deployment
    Replies: 0
    Last Post: 20th January 2009, 23:10
  5. A Shadow of my groupBox
    By baray98 in forum Qt Programming
    Replies: 1
    Last Post: 28th June 2008, 21:41

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.