Building for WinCE 6.0

Jeff Galbraith JeffG at FlipStart.com
Tue Oct 30 16:25:42 CET 2007


According to sdkscanner -list, I am using "Platform Builder (_TGTCPU)".
I'll modify the qmake.conf and give it a try after my "nmake clean" is
done. :)

Thanks for the quick info.

-----Original Message-----
From: Maurice Kalinowski [mailto:mkalinow at trolltech.com] 
Sent: Tuesday, October 30, 2007 8:14 AM
To: qtce-preview-feedback at trolltech.com
Subject: Re: Building for WinCE 6.0


> I was following along with the video at
> http://dist.trolltech.com/video/qtwincetp/qtwincetp.html. But, when it
> came to opening the demos and running them that doesn't work. For
> instance, if you go to the c:\Qt\4.3.2-tp1\demos\textedit and run from
> the command-line "devenv textedit.vcproj" (as specified in the video)
> Visual Studio comes up and then gets an error dialog "The project
> consists entirely of configurations that require support for platforms
> which are not installed on this machine. The project cannot be
loaded."
> Any ideas how to resolve this? Do the demo programs need to go in to
the
> subprojects section of the BSP? 
>   
My guess is, that the two lines in qmake.conf has not been updated
properly.
Usually (when you use your own SDK) you have to change at least the 
following options:

CE_SDK        = Windows Mobile 5.0 Pocket PC SDK
CE_ARCH        = ARMV4I


The first one describe the name of the SDK, while the latter is for the 
target architecture. qmake then generates the following string as
platform

"Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"

Visual Studio needs exact matching so that it identifies the correct 
installed SDK to use. So in case you are still using the naming inside 
the wince60standard* mkspec folder, this is probably the reason why it 
fails.

All in all, the solution is to change that parameter to exactly the name

'sdkscanner -list' returns as the long sdk name.


Best Regards,

Maurice Kalinowski

To unsubscribe - send "unsubscribe" in the subject to
qtce-preview-feedback-request at trolltech.com



More information about the Qtce-preview-feedback mailing list