Hello,

thank you for trying out the RC for Qt for Windows CE.

for using Qt/WinCE with a custom SDK, please have a look at
http://doc.trolltech.com/4.4-snapshot/windowsce-customization.html
It basically describe how you can create your own mkspec for this 
specific case.

Afterwards the steps would be the following:

- configure Qt with: "configure -platform win32-msvc2005 -xplatform 
<enter the new mkspec>
- change the environment to crosscompiling
- nmake

For the environment, I would like to comment on some things.
As you probably have seen already, setcepaths is a little batch script 
which calls checksdk.exe inside of the bin directory.
I suggest to use this application directly instead of the script. These 
were written for the mkspecs/SDKs, which we already do support.

checksdk has a small help output:
D:\devil\ce_x86\bin>checksdk -help
SDK Scanner - Convenience Tool to setup your environment
              for crosscompilation to Windows CE
Options:
-help                This output
-list                List all available SDKs
-sdk <name>          Select specified SDK.
                     Note: SDK names with spaces need to be
                     specified in parenthesis
                     default: Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
-script <file>       Create a script file which can be launched
                     to setup your environment for specified SDK

So this means, that if you intend to change your environment for 
crosscompiling multiple times, you should create your own batch file.

First call checksdk -list to list all available SDKs for Qt/WinCE.
Afterwards create the script with checksdk -script "set_cross.bat" -sdk 
"My favorite SDK".
Note that arguments containing spaces (like SDK names) need to be 
wrapped in quotes. Following you need to call the script the switch to 
crosscompiling. The next time you will only need to call the script to 
continue.

I hope that this helped you with your current issues. I am looking 
forward to feedback.


Best Regards,

Maurice Kalinowski


IGI/Falk BAUER wrote:
> Hi @all.
>
> Does anyone have successfully compiled the 4.4 rc of Qt-wince for WinCE 
> 6.0 on x86 architecture?
> In the downloadable source-code there are given parameters, batchfiles 
> and so on for compiling for WinCE 5.0 on x86. And also for WinCE 6.0 on 
> ARM. But none for WinCE6.0 x86.
>
> I have tried some things so far to compile the 4.4-rc:
>
> 1. Create a custom SDK for a custom WinCE 6.0 Platform and installed it.
> 2. configure the build with the following command: "configure -platform 
> win32-msvc2005 -xplatform wince50standard-x86-msvc2005". Sadly there are 
> no specs for the wince60 x86.
> 3. setcepaths.bat overwritten for pointing to the Includes and Libs of 
> the WinCE6.0 Custom SDK.
>
> Now when nmake is called there are some errors shown which i do not 
> understand. One was in the malloc.h of the WinCE6.0 Custom SDK. This one 
> could be corrected with a compare to another malloc.h which was patched 
> with the SP1 of the VS 2005.
> But for the moment there are other erros like "missing type specifier" 
> (C4430) or "parameter list in old style" (C2447).
>
> Any suggestions are welcome.
>
>   

_______________________________________________
Qtce-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qtce-preview-feedback

Reply via email to