Compiling Qt 4.8.5 for Windows CE5 under a custom SDK



  • I'm trying to build Qt 4.8.5 for use on a Windows CE 5.0 based industrial PC. I have the SDK from the device manufacturer, so I'm following "this guide":http://qt-project.org/doc/qt-4.8/windowsce-customization.html.

    I've copied the wince50standard-armv4i-msvc2005 mkspec into a new folder, wince50MC2-armv4i-msvc2005. The name of the custom SDK is "MC2", so I edited the first few lines of the qmake file:

    @CE_SDK = MC2
    CE_ARCH = ARMV4I@

    I then run "configure -platform win32-msvc2005 -xplatform wince50MC2-armv4i-msvc2005" which executes without problems. The trouble comes when I try to set the environment variables before starting the build process. The guide says that I should use "chksdk -sdk [SDK Name]." When I run "chksdk -list," the SDK shows up:

    @
    C:\Qt\4.8.5>checksdk -list
    Available SDKs:
    SDK Name: Pocket PC 2003 (ARMV4)
    SDK Name: Smartphone 2003 (ARMV4)
    SDK Name: MC2 (ARMV4I)
    @

    However, when I try to actually invoke "chcksdk -sdk" to select the SDK, this happens:

    @
    C:\Qt\4.8.5>checksdk -sdk MC2
    Could not find specified SDK: MC2
    @

    Any ideas?

    EDIT: Somebody was kind enough to answer my question on IRC. If anyone else is having this issue, you have to invoke checksdk like so:
    @
    C:\Qt\4.8.5>checksdk -sdk "MC2 (ARMV4I)"
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.