Build: ok, run: not ok

George Staikos george at staikos.net
Mon Oct 22 20:18:37 CEST 2007


On 22-Oct-07, at 3:08 AM, Marius Storm-Olsen wrote:

>> e them deployed?  Perhaps as data files?
>
> Ah, this explains things. Ok, so here's what you can do. There's a  
> way to specify random files for deployment with your application.  
> It works like this:
> So, if you put something like this in your .pro file:
>
>     # Deploy my custom files
>     deployQt.sources = <QTDIR>/libs/Qt*.dll
>     deployQt.path = \Windows
>     DEPLOYMENT += deployQt
>
>     # Deploy MSVC run-times for CE
>     deployRT.sources = <VisualStudio>/vc/ce/dll/armv4i/ms*.dll
>     deployRT.path = \Windows
>     DEPLOYMENT += deployRT
>
> It should deploy what you need.
> Feedback on how it works out for you much appreciated! :-)

   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?

--
George Staikos
Staikos Computing Services Inc.      http://www.staikos.net/




More information about the Qtce-preview-feedback mailing list