[Interest] tQRE: Desktop deployment

Koehne Kai Kai.Koehne at digia.com
Thu Jun 20 08:48:41 CEST 2013



> -----Original Message-----
> From: interest-bounces+kai.koehne=digia.com at qt-project.org
> [mailto:interest-bounces+kai.koehne=digia.com at qt-project.org] On Behalf Of
> Stephen King
> Sent: Thursday, June 20, 2013 8:40 AM
> To: Yves Bailly; Interest at qt-project.org
> Subject: Re: [Interest] Desktop deployment
> 
> 
> 
> Hi,
> 
> We use a custom build step in our .pro file to copy everything into a single
> directory ready for deployment (onto WinCE in our case). I think that using
> qmake you have all of the information you need for example the QT variable
> holds which Qt modules you're using so you can use that to figure out which
> Qt Dlls to copy.

The trouble is usually the plugins & QML imports, which are runtime dependencies not declared in qmake. Neither are e.g. VS runtimes, ICU libs if needed etc .

Anyhow, for a "just get something to deploy", copying all Qt libs, plugins, QML imports etc is a safe choice.

Regards

Kai

> Then again if you're doing everything in VisualStudio it might be easier to just
> create an installer for internal consumption from within VS, it's pretty easy to
> just drag in the dependencies.
> 
> Regards,
> Steve
> 
> 
> -----Original Message-----
> From: interest-bounces+stephen.king=domino-uk.com at qt-project.org
> [mailto:interest-bounces+stephen.king=domino-uk.com at qt-project.org] On
> Behalf Of Yves Bailly
> Sent: 20 June 2013 07:13
> To: Interest at qt-project.org
> Subject: Re: [Interest] Desktop deployment
> 
> Le 20/06/2013 01:16, Alex Malyushytskyy a écrit :
> > I just wanted to point that you must to deploy all dependencies not only Qt.
> > You will have to deploy VC CRTs at least if your application has no other
> dependencies.
> 
> I'm perfectly aware of this. Here my "problem" is more in the case where I just
> want to copy my exe to someone's else computer (which already have already
> all the needed "standard" runtimes installed).
> Creating a full-fledged, customer-targeted installer is another matter, which is
> already nicely handled.
> 
> Regards,
> 
> --
>       /- Yves Bailly - Software developer   -\
>       \- Sescoi R&D  - http://www.sescoi.fr -/ "The possible is done. The
> impossible is being done. For miracles, thanks to allow a little delay."
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> ****************************************************
> Visit our website at http://www.domino-printing.com
> ****************************************************
> This Email and any files transmitted with it are intended only for the person or
> entity to which it is addressed and may contain confidential and/or privileged
> material. Any reading, redistribution, disclosure 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 are not the intended recipient
> please contact the sender immediately and delete the material from your
> computer.
> 
> E-mail may be susceptible to data corruption, interception, viruses and
> unauthorised amendment and Domino UK Limited does not accept liability for
> any such corruption, interception, viruses or amendment or their
> consequences.
> ****************************************************
> Domino UK Limited. Registered in England. Registered Number:1750201.
> Registered Office Address: Trafalgar Way, Bar Hill, Cambridge, CB23 8TU.
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list