Build: ok, run: not ok

Maurice Kalinowski mkalinow at trolltech.com
Tue Oct 23 14:20:02 CEST 2007


Hi,
>
>   We're getting close but still not there.  It doesn't seem possible 
> to specify paths to DEPLOYMENT?  At least that's my guess.  If I edit 
> the .vcproj and edit the additional deployments manually then Visual 
> Studio works.  However qmake never seems to add those deployments to 
> my vcproj.  It will however complain if I leave out the .path value.  
> Maybe I have to specify something to tell it where to get the files, 
> and then specify a relative path?
>
it should be possible to do that. The .path part of setting this 
variable can be used in two different ways.
1.) specify a path which is absolute on the device, like \Windows for Qt 
libraries
2.) specify a path relative to the application destination. That is the 
same like Visual Studio uses and is called 
\%CSIDL_PROGRAMFILES%\<target>, where the first example usually gets 
expanded to "\Program Files" and the second is the TARGET you specify in 
your .pro file.

To identify, where the file is on your development system, you use the 
.sources argument and specify them relative to your working directory or 
absolute.

So, to summarize, .sources describes the location on your local hard 
disk, where .path means the location on your Windows CE device. It is 
true, that the output of qmake is not very verbose, I might need to add 
some additional lines there.


Best Regards,

Maurice Kalinowski



More information about the Qtce-preview-feedback mailing list