October 21, 2011

elemings elemings
Lab Rat
10 posts

Building Qt shared libraries with static plugins

 

Can someone post links (or outline the process) that describes how to build Qt shared libraries (esp. DLLs for Windows) but with the predefined plugins (e.g. imageformats) built into the shared libraries? Thanks.

1 reply

October 27, 2011

rcari rcari
Hobby Entomologist
162 posts

I don’t know if that is possible, however I know there is a way to statically link to specific plugins, using Q_IMPORT_PLUGIN. The plugin DLL will be required for the application to properly run, so you should put them alongside your executable or in the PATH as you do with the Qt DLLs.

 
  ‹‹ Kaspersky detects Worm during Installation      openAL ALCcontext nondeclared identifier ››

You must log in to post a reply. Not a member yet? Register here!