Unknown module(s) in QT: core gui widgets

匿名 (未验证) 提交于 2019-12-03 08:48:34

问题:

I just installed Qt5.4.1 MSVC2013 on windows, and when I tried to build a project, I encountered an error like

Unknown module(s) in QT: core gui widgets. 

Then I add a user environment variable path

D:\Program Files\Qt\5.4\msvc2013_64; 

but the problem still exests.

I search the internet but it seems no one ever gets similar problem... it really confuses me.

回答1:

From the Qt forum:

Library paths are hard-coded into Qt at compilation time. You can change that by using qt.conf file. Search for one in your installation and see what it contains. The syntax for conf files is described in Qt documentation. The general advice is: "never move a Qt installation".



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!