PDA

View Full Version : Use static plugins in dynamic Qt project



uj2
31st August 2009, 14:54
Hello! My Qt is configured as -shared, but I want to use static plugins (qjpeg, particularly), but plugins in "shared" built of Qt are compiled without QT_STATICPLUGIN, so they miss qt_plugin_instance_qjpeg. So, is this possible to build Qt in "shared" mode, but with ability to use static plugins?

wysota
31st August 2009, 19:54
You can compile a particular plugin directly into Qt library. You can also probably build a particular plugin in static mode and then embed it into your application like any other static plugin.