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

前端 未结 5 1701
生来不讨喜
生来不讨喜 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 13:50

    Just do the following steps:

    1. Go to bin folder in your Qt installation directory
    2. Copy all files with .dll extension
    3. Past them to C:\Windows\System32 for 32 bits or C:\Windows\syswow64 for 64 bits.
    4. Tada! you will never see that irritating message again

提交回复
热议问题