Building for WinCE 6.0
Jeff Galbraith
JeffG at FlipStart.com
Mon Oct 29 22:56:44 CET 2007
Thanks for the quick response.
I took the time to look at things and this is what I came up with that
helped me do a built of Qt. It took some trial and error in getting the
paths correct for include and lib. I'm not sure if this is the solution,
so I'd appreciate if anyone has feedback on improving the process:
1. run "configure -platform win32-msvc2005 -xplatform
wince60standard-armv4i-msvc2005
2. create batch file in c:\Qt\4.3.2-tp1 directory "setupWinCE-Qt.bat"
Contains:
set
INCLUDE=C:\qt\4.3.2-tp1\include;C:\WINCE600\PUBLIC\COMMON\SDK\INC;C:\Pro
gram Files\Microsoft Visual Studio 8\VC\ce\include;C:\Program
Files\Microsoft Visual Studio
8\VC\ce\atlmfc\include;C:\WINCE600\OSDesigns\MyTestOSDesign\MyTestOSDesi
gn\Wince600\MyTestArmBSP_ARMV4I\cesysgen\ddk\inc;C:\WINCE600\OSDesigns\M
yTestOSDesign\MyTestOSDesign\Wince600\MyTestArmBSP_ARMV4I\cesysgen\oak\i
nc;C:\WINCE600\OSDesigns\MyTestOSDesign\MyTestOSDesign\Wince600\MyTestAr
mBSP_ARMV4I\cesysgen\sdk\inc
set
LIB=C:\qt\4.3.2-tp1\lib;C:\WINCE600\OSDesigns\MyTestOSDesign\MyTestOSDes
ign\Wince600\MyTestArmBSP_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail;C:\WINCE
600\PUBLIC\COMMON\SDK\LIB\ARMV4I\RETAIL;C:\WINCE600\PUBLIC\IE\OAK\LIB\AR
MV4I\RETAIL;C:\Program Files\Microsoft Visual Studio
8\VC\ce\lib\armv4i;C:\Program Files\Microsoft Visual Studio
8\VC\ce\atlmfc\lib\armv4i;C:\WINCE600\OSDesigns\MyTestOSDesign\MyTestOSD
esign\Wince600\MyTestArmBSP_ARMV4I\cesysgen\oak\lib\ARMV4I\retail;C:\WIN
CE600\OSDesigns\MyTestOSDesign\MyTestOSDesign\Wince600\MyTestArmBSP_ARMV
4I\cesysgen\sdk\lib\ARMV4I\retail;
set PATH=C:\Program Files\Microsoft Visual Studio
8\VC\ce\bin\x86_arm;%PATH%
Run from a Visual Studio command prompt.
3. run "nmake"
I haven't had time to test it yet, so if I run into problems I'll let
the list know.
However, I did see this warning:
kernel\qmime_win.cpp(1314) : warning C4996: 'QString::QString' was
declared deprecated
c:\qt\4.3.2-tp1\include\qtcore\../../src/corelib/tools/qstring.h(356) :
see declaration of 'QString::QString'
Not sure why QString would be declared deprecated...
Jeff
-----Original Message-----
From: Maurice Kalinowski [mailto:mkalinow at trolltech.com]
Sent: Monday, October 29, 2007 9:45 AM
To: qtce-preview-feedback at trolltech.com
Subject: Re: Building for WinCE 6.0
Jeff Galbraith wrote:
>
> There is no longer a Standard SDK for Windows CE as of 6.0 (you don't
> have it unless you upgraded from 5.0 so you have backwards
> compatibility for your existing designs). What is the recommended way
> to build Qt with a new install of WinCE 6.0?
>
> Btw, if you open Platform Builder in Visual Studio and navigate to
> "<OSDesign>\Core OS\CEBASE\Applications and Services Development" you
> will find the "Standard SDK for Windows Embedded CE". There is a
> notification exclamation mark on this check box. If you right-click
> and select "Show Notification" it says, "Deprecated: Windows Embedded
> CE no longer supports the Standard SDK. This Catalog item is available
> to provide support for OS Designs created using a previous version of
> Windows Embedded CE."
>
> Jeff
>
Hi,
it is true, that since Windows CE 6 the Standard SDK has been deprecated
unfortunately. So in case you want to use Qt with a recently created SDK
basing on version 6, you can follow these steps mentioned in the
documentation:
http://pepper.troll.no/ceprereleases/doc/windowsce-customization.html
If your system has the same configuration like it had with Windows CE 5,
you can easily use the wince60standard-armv4i-msvc2005 mkspecs and apply
them to your needs. It should build fine then.
Please tell us about any issues/success you have.
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