Qmake error: Unknown module(s) in QT: network widgets gui core



  • I downloaded Qt 5.3.0, it came together with the creator and libraries msvc2010 32bit openlg. The download put the libraries in: C:\Qt\Qt5.3.0\5.3\msvc2010_opengl
    For some reasons I had to change the location of the libraries to be: C:\Qt\Qt5.3.0 msvc 2010\5.3\msvc2010_opengl

    I set the environment variables in accordance.

    when i run the command:
    @qmake.exe aa.pro -r -spec win32-msvc2010 "CONFIG+=release" @

    I get the following error that i didn't get before: Project ERROR: Unknown module(s) in QT: network widgets gui core

    Why do i get it? is there any reason that Qt libraries has to be at the original location?


  • Moderators

    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".


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.