[Interest] Desktop deployment

Alex Malyushytskyy alexmalvtk at gmail.com
Thu Jun 20 01:16:28 CEST 2013


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.

Alex


On Wed, Jun 19, 2013 at 8:21 AM, Yves Bailly <yves.bailly at sescoi.fr> wrote:

>
> Greetings all,
>
> Here's a maybe silly question, but I really couldn't find any valuable
> help from
> the documentation.
>
> Let's assume I'm creating an application, development and target platforms
> being
> Windows 7, using Visual C++.
>
> If I want to give my .exe file to someone, I usually have to give him an
> archive
> containing my .exe, *and* a copy of all the needed Qt's libraries,
> including
> the plugins. Taking care to don't forget the "qt.conf" file. So that the
> executable
> can be executed just by a double-click in the explorer.
>
> Until now, I was *manually* copying the needed *.dlls from Qt's directory
> to the
> directory in which my executable is build. Which can be quite cumbersome,
> to say
> the least, having to filter out the *.lib, *.pdb, the debug flavors, and
> so on.
>
> Is there any way to automatically copy the needed files in the "right"
> place?
> Some kind of deployment option (similar to what exists for Android), or
> even
> better, some magical variable or function to include in the project file
> and
> processed by qmake?
>
> Going further, let's assume my application depends on various libraries,
> also
> created and managed my myself and other collegues. How to make sure all
> the final
> *.lib, *.dll and so on are placed in the same folder? It's always possible
> to use
> the same target folder for in shadow building for several projects in
> QtCreator,
> but this doesn't seem easily movable from a developer to another. Is there
> any
> other solution, unless to "manually" adjust DESTDIR, DLLDESTDIR and the
> likes
> in the project file?
>
> Thanks for any hints.
>
> --
>       /- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130619/331fbb58/attachment.html>


More information about the Interest mailing list