Hey, Thanks for your reply. Seemed pretty easy until I got this:
error LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_qwindows(void)" (?qt_static_plugin_qwindows@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __thiscall StaticqwindowsPluginInstance::StaticqwindowsPluginInstance(void)" (??0StaticqwindowsPluginInstance@@QAE@XZ) release\audiolab.dll : fatal error LNK1120: 1 unresolved externals Any ideas? Thanks On 22/05/2015 17:10, Konstantin Tokarev wrote: > > 22.05.2015, 18:37, "Nuno Santos" <[email protected]>: >> 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. > _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
