[Qt-wince-interest] Using Win32 and Windows Mobile configurations in the same VS 2008 solution

Johan Lantz johan.lantz at genaker.net
Thu Jan 7 14:15:22 CET 2010


Hi

I am trying to setup a VS solution that works for both Win32 and Windows 
Mobile. I have 4.6.0 installed for both platforms.

I can create a Win32 lib or a Windows Mobile lib with QT using the 
wizard and they both compile.

However if I create a QT Win32 lib with the wizard and then try to add 
the Windows Mobile 5 configuration manually to have both targets in the 
same project, it does not work. QT complains that:
WARNING: Cant find the Qt version thats associated  with this project. 
Defaulting to 4.6.0 instead.

and a MessageBox saying that "Cant find a Qt version for the current 
build platform".

Trying to change the solutions Qt version manually results in null 
pointer errors in the VS addin.

So to reproduce:
1. Create a QT library for Windows.
2. With the Configuration Manager of Visual Studio, add another build 
variant for (in my case) Windows Mobile 5 SDK ARM4i
3. Try to compile the Windows Mobile variant.

Has anyone successfully setup a multi platform solution like this with VS.

Best Regards

Johan




More information about the Qt-wince-interest mailing list