3 ms·
Well, I just made a static build of a Qt 5.7 project that required the SVG image format plugin, so it's definitely possible. In qmake projects, it all happens a
by rossy 10y ago
Well, I just made a static build of a Qt 5.7 project that required the SVG image format plugin, so it's definitely possible. In qmake projects, it all happens automatically if you specify the plugins you use in the QTPLUGINS variable. In my case, I needed to add 'svg' to the QT variable. For non-qmake projects, I think you have to add Q_IMPORT_PLUGIN() macros to the source code of your program to "load" the statically linked plugins.