Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Project ERROR: Unknown module(s) in QT: gui core

    General and Desktop
    qt creator error
    2
    3
    3112
    Loading More Posts
    • 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.
    • E
      er0d last edited by

      Hi,

      I just installed Qt Creator on a Windows 7, but I can't compile anything. It is the 'community' version. Here is the version details:
      Qt Creator 3.4.0 (opensource)
      Based on Qt 5.4.1 (MSVC 2013, 32 bit)
      Built on Apr 22 2015 04:15:14
      From revision 6302a28c97

      I try to compile the examples given with the IDE, but I always got the followin error:
      Project ERROR: Unknown module(s) in QT: gui core

      I also noticed that the Qt headers are not found by Qt Creator.

      But Qt Creator seems to be correctly configured (using msvc 2013 as default compiler).
      . In "options -> build & run -> kits", the "Desktop Qt 5.4.1 MSVC 64bits" is set as "default".
      . In "options -> build & run -> compilers", all the different versions of MSVC installed on this computer are corretly listed. (I got 3 different versions)

      Any idea?

      K 1 Reply Last reply Reply Quote 0
      • K
        koahnig @er0d last edited by

        @er0d
        Hi and welcome to devnet

        Windows users are often using spaces in the path for Qt installation. Some tools not like spaces in the path. If you have "C:/Qt/..." and spaces afterwards, you better reinstall.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply Reply Quote 0
        • E
          er0d last edited by

          Hi koahnig,

          you were right. I installed Qt in the "Program File" folder, and that was the source of my troubles.
          I reinstalled it in a "blank space free" location, and now everything works perfectly.

          Thank you.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post