Statically linked app with Qt gives error: Failed to load platform plugin “windows”

前端 未结 5 1665
生来不讨喜
生来不讨喜 2020-12-31 13:27

I have built Qt 5.0.1 statically in VS 2010 under Windows 7 x64. The configuration parameters were

configure -debug-and-release -opensource -confirm-license          


        
5条回答
  •  被撕碎了的回忆
    2020-12-31 14:03

    It's a Qt platform plugin issue. Using qt.conf resolved the problem for me on MacOS. It doesn't matter if you link Qt staticly on not.

    I tried to staticly link to libqcocoa.a (or qwindows.lib) without success. I will let you know if i succeed.

提交回复
热议问题