Unknown module in QT: basic gui widgets

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

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

Then I add the path of the user environment variable

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

but the problem still arises.

I am searching on the Internet, but it seems no one has ever encountered a similar problem ... it really bothers me.

+6
source share
1 answer

From the Qt forum :

Library paths are hardcoded in Qt at compile time. You can change this using the qt.conf file. Find it in your installation and see what it contains. The syntax for conf files is described in the Qt documentation. General tip: "never move the Qt installation . "

0
source

All Articles