Building for WinCE 6.0
Maurice Kalinowski
mkalinow at trolltech.com
Tue Oct 30 16:14:20 CET 2007
> 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
More information about the Qtce-preview-feedback
mailing list