![]() |
Home · Examples |
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:
If the Qt package is in C:\Qt\%VERSION% the shadow build directory could be C:\Qt\shadowbuild. A shadow build from a directory like C:\shadowbuild will not compile.
set PATH=C:\Qt\mobile5-release-shared\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-release-shared 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
Copyright © 2008 Trolltech | Trademarks | Qt Jambi 4.4.2_01 |