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. Qt Creator 4.0.2 doesn't find Compiler

Qt Creator 4.0.2 doesn't find Compiler

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 1.7k 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.
  • H Offline
    H Offline
    H4NNE5
    wrote on last edited by
    #1

    Hello,

    I downloaded the full installer "qt-opensource-windows-x86-msvc2015-5.7.0.exe" installed it with the "MSVC2015" and the "QT Scripts" options selected and started it.
    But clicking on the play button gives me the error message: "QT needs a compiler" (or sth like that).

    In the settings menu at "kits" there is a red attention sign at the automatically detected kit version "Desktop Qt %{Qt:Version} MSVC2015 32bit" and under "compiler" this compiler is found "Microsoft Visual C++ Compiler 10.0 (x86)"

    Additionally under "qt versions" there is an automatically detected on with a red attention sign "Qt %{Qt:Version} MSVC2015 32bit" with the hint "No compiler can generate code for this QT-version" and a user defined one with a yellow attention sign "Qt %{Qt:Version} in PATH (PyQt4)" with the hint "qml-viewer is not installed".

    Can you please give me any hints what to do in this case?
    QTCreator was installed on this computer(company laptop) in an older version and it was running before but now it was gone (I don't know why) and I had to reinstall it.

    Thank you in advance.
    Hannes

    jsulmJ 1 Reply Last reply
    0
    • H H4NNE5

      Hello,

      I downloaded the full installer "qt-opensource-windows-x86-msvc2015-5.7.0.exe" installed it with the "MSVC2015" and the "QT Scripts" options selected and started it.
      But clicking on the play button gives me the error message: "QT needs a compiler" (or sth like that).

      In the settings menu at "kits" there is a red attention sign at the automatically detected kit version "Desktop Qt %{Qt:Version} MSVC2015 32bit" and under "compiler" this compiler is found "Microsoft Visual C++ Compiler 10.0 (x86)"

      Additionally under "qt versions" there is an automatically detected on with a red attention sign "Qt %{Qt:Version} MSVC2015 32bit" with the hint "No compiler can generate code for this QT-version" and a user defined one with a yellow attention sign "Qt %{Qt:Version} in PATH (PyQt4)" with the hint "qml-viewer is not installed".

      Can you please give me any hints what to do in this case?
      QTCreator was installed on this computer(company laptop) in an older version and it was running before but now it was gone (I don't know why) and I had to reinstall it.

      Thank you in advance.
      Hannes

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @H4NNE5 said in Qt Creator 4.0.2 doesn't find Compiler:

      Microsoft Visual C++ Compiler 10.0 (x86)
      This is the C++ compiler from Visual Studio 2010.
      Did you install Visual Studio 2015? If so, did you install its C++ compiler (it is usually not installed automatically)?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        H4NNE5
        wrote on last edited by
        #3

        No i didn't, because how I understood it is that the QT installation package contains the "MSVC2015" for that purpose.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          No it doesn't. Microsoft doesn't allow any third party to provide its development suites. So you have to install them yourself. Note that for MSVC2015, you can get only the C++ compiler and don't need the full-blown visual studio download.

          If the use of Visual Studio is not mandatory, you can install the Qt MinGW package which provides MinGW so you can start hacking right away.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

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