Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qmake error: Unknown module(s) in QT: network widgets gui core

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

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 10.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    samsam
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

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

      (Z(:^

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved