How I do it, easiest:

Open command prompt. Go to the QT install dir.

Run: C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat

Then

configure -platform win32-msvc2008 -xplatform wincewm65professional-msvc2008

then I go into bin folder and run:

setcepaths wincewm65professional-msvc2008


I haven't done with 6.5 though. Just 6.0.



On Tue, Mar 2, 2010 at 10:48 AM, Mattia Roberto <[email protected]> wrote:

>  Hi all,
>
>
>
> I’m experimenting issues trying to setup qt 4.6.2 for Windows CE
> (specifically for Windows Mobile 6.5).
>
>
>
> My environment is Windows XP - VS2008- Windows Mobile 6.0 SDK -Windows
> Mobile 6.5 Dev Kit
>
>
>
> I’m following instructions at
> http://qt.nokia.com/doc/4.6/install-wince.html
>
>
>
> I downloaded and extracted qt-everywhere-opensource-src-4.6.2.zip.
>
>
>
> I added in my PATH the path of D:\Qt\4.6.2_wince\bin dir
>
> .
>
>
>
> Then I opened a command window and I setup the Visual Studio paths
> (vcvars.bat).
>
> I checked and the path is correctly set.
>
>
>
> My path is:
>
> PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;
>
> C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN;
>
> C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;
>
>
> C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;
>
> C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages;
>
> C:\Program Files\Microsoft Visual Studio 9.0\VC\PlatformSDK\bin;
>
> C:\Perl\bin\;
>
> C:\Program Files\Common Files\Symbian\Tools;
>
> C:\Program Files\PC Connectivity;
>
> D:\Qt\4.6.2_wince\bin
>
>
>
> In the same command window I go in D:\Qt\4.6.2_wince and I try to configure
> running:
>
>
>
> configure - platform win32-msvc2008 -xplatform
> wincewm65professional-msvc2008
>
>
>
> But I get the following error:
>
> project.cpp(62) : fatal error C1083: Cannot open include file: 'windows.h':
> No such file or directory
>
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\BIN\cl.EXE"' : return code '0x2'
>
> Stop.
>
> Building qmake failed, return code 2
>
>
>
> Note: I didn’ t launch setcepaths.bat before configure.
>
>
>
> What Am I missing in environment setup?
>
>
>
> Thanks for your kind help in advance.
>
>
>
> Roberto
>
> ------------------------------
> --
> The information transmitted is intended for the person or entity to which
> it is addressed and may contain confidential and/or privileged material. Any
> review, retransmission, dissemination or other use of, or taking of any
> action in reliance upon, this information by persons or entities other than
> the intended recipient is prohibited. If you received this in error, please
> contact the sender and delete the material from any computer.
>
> _______________________________________________
> Qt-wince-interest mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
>
>
_______________________________________________
Qt-wince-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-wince-interest

Reply via email to