While developing for Windows CE you might want to compile a version of Qt for several different platforms and SDKs. In order to create those different builds of Qt you do not have to copy the whole Qt package or the Qt source. You are able to create multiple Qt builds from a single source tree. Such builds are called shadow builds.
Basically a shadow build is created by calling configure.exe from a different directory.
To make sure that the shadow build compiles correctly it is important that you following these guidelines:
So lets assume you have installed Qt in C:\Qt\%VERSION% and you want to create a shadow build in C:\Qt\mobile5-shadow:
set PATH=C:\Qt\mobile5-shadow\bin;%PATH%
Visual Studio includes vcvars32.bat for that purpose - or simply use the "Visual Studio Command Prompt" from the Start menu.
cd c:\Qt\mobile5-shadow C:\Qt\%VERSION%\configure.exe -platform win32-msvc2005 -xplatform wincewm50pocket-msvc2005 -release
For a default installation of the Windows Mobile 5.0 Pocket PC SDK, you can do the following:
set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\ce\include; C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i set LIB=C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib\armv4i; C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Lib\ARMV4I set PATH=C:\Program Files\Microsoft Visual Studio 8\VC\ce\bin\x86_arm; %PATH%
We have provided a convenience script for this called setcepaths. Simply type:
setcepaths wincewm50pocket-msvc2005
nmake
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.