Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Compiling Qt 4.8.5 for Windows CE5 under a custom SDK
QtWS25 Last Chance

Compiling Qt 4.8.5 for Windows CE5 under a custom SDK

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 757 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.
  • K Offline
    K Offline
    kazakoff_p
    wrote on 4 Apr 2014, 09:24 last edited by
    #1

    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)"
    @

    1 Reply Last reply
    0

    1/1

    4 Apr 2014, 09:24

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved