Submitted by paolo on Sun, 07/25/2010 - 04:12
This tutorial provides a simple list of steps necessary to compile and install Qt 4.6.2 on Mini 2440 friendly ARM board equipped with Windows CE 5.0.

What you need:
- MS Visual studio 2005 or 2008 Professional Edition (NO express edition)
- Mini 2440 BSP
- Microsoft Win CE 5.0 SDK
- Qt 4.6.2
First of all you have to download the Win CE 5.0 BSP package from Friendly ARM web site:
Then you have to download the Microsoft standard SDK ( ARM) from Friendly ARM web site:
And Qt from Nokia web site:
Finally unzip the files on your hard disk in a directory like C:\Qt\4.6.2.
A this point from the Visual Studio command prompt you have to configure Qt. Move to Qt root directory and type from the prompt (if you are using Visual studio 2008)
C:\Qt\4.6.2> configure –platform win32-msvc2008 –xplatform wince50standard-armv4i-msvc2008
Or, if you are using Visual studio 2005, type from the prompt
C:\Qt\4.6.2> configure –platform win32-msvc2005 –xplatform wince50standard-armv4i-msvc2005
After run the command configure, you have to run setcepaths (and you have to do the same before compiling every project)
Type from the command prompt
C:\Qt\4.6.2> c:\Qt\4.6.2\bin\setcepaths wince50standard-armv4i-msvc2008
Or
C:\Qt\4.6.2> c:\Qt\4.6.2\bin\setcepaths wince50standard-armv4i-msvc2005
Depending if you are using Visual Studio 2008 or 2005.
When setcepaths has completed you can type from the command promt
nmake
and after some time you have you DLL compiled in c:\Qt\4.6.2\lib directory
If you have questions you can leave a comment to this post or better, you can post to this forum

Problem with setcepaths
Everything works fine until I execute the command:
C:\Qt\4.6.2> c:\Qt\4.6.2\bin\setcepaths wince50standard-armv4i-msvc2008
I get the Error:
Could not find specified SDK: STANDARDSDK_500 (ARMV4I)
I have Visual Studio 2008. I tried the Visual Studio Command Prompt and normal cmd. I installed the WinCE SDK to C:\Program Files\Windows CE Tools\wce500\ and I set the paths:
set INCLUDE=C:\Program Files\Microsoft Visual Studio 9\VC\ce\include;C:\Program Files\Windows CE Tools\wce500\mini2440\Include\Armv4i
set LIB=C:\Program Files\Microsoft Visual Studio 9\VC\ce\lib\armv4i;C:\Program Files\Windows CE Tools\wce500\mini2440\Lib\ARMV4I
set PATH=C:\Program Files\Microsoft Visual Studio 9\VC\ce\bin\x86_arm;%PATH%
But I still get the error. What did i do wrong? Thanks very much and sorry for my bad english.