[Interest] unresolved external symbol qt_static_plugin_QModernWindowsStylePlugin

Thiago Macieira thiago.macieira at intel.com
Tue Nov 19 20:45:29 CET 2024


On Tuesday 19 November 2024 11:30:04 Pacific Standard Time Nuno Santos via 
Interest wrote:
> I have never had to make it until today. And I don’t need to make it using
> the non static build provided by the installer.
> 
> Don’t you think this is a bug of the static build?

It's not a bug. If you're using static builds, you must link to the 
staticplugins you're using because they aren't plugins.

I don't know where the required symbol is coming from, though. The most likely 
case is that CMake generates extra code for QtGui to link to this staticplugin 
library, but when you use qmake, the dependency isn't added. I can't confirm 
because I never test static builds (and don't plan to, unless one of my own 
changes breaks stuff and I can't figure out what's wrong).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20241119/27ea25d5/attachment.bin>


More information about the Interest mailing list