[Interest] How to deploy a qml app with Qt built statically?
Konstantin Tokarev
annulen at yandex.ru
Fri May 22 18:10:38 CEST 2015
22.05.2015, 18:37, "Nuno Santos" <nunosantos at imaginando.pt>:
> Hi,
>
> I have compiled Qt statically. In this process I have found two
> difficulties:
>
> - If I don't compile it with -developer-build I don't have the plugins
> compiled
> - When I finally got plugins compiled, they are static libs
>
> When my program is about to start it asks about plugin windows (i assume
> it is the platforms/qwindows.dll)
>
> What is the process to deploy an application with a static build of qt?
You need to use Q_IMPORT_PLUGIN macro in your application, and link all needed
plugins into it.
--
Regards,
Konstantin
More information about the Interest
mailing list