Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt creator needs a compiler

Qt creator needs a compiler

Scheduled Pinned Locked Moved Solved General and Desktop
qt5.6qt creatormsvc2015compilers pathcompilers
5 Posts 2 Posters 5.9k Views
  • 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.
  • N Offline
    N Offline
    neda
    wrote on 18 May 2016, 03:56 last edited by neda
    #1

    I Have Installed qt-opensource-windows-x86-msvc2015-5.6.0.exe and I have visual studio 2015 in my computer (windows 10 64 bit). But when I am running any program it is giving me this error.

    error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

    I have this specification in window "About Qt Creator".
    Based on Qt 5.6.0(MSVC 2013,32 bit).

    But in my computer:
    "C:\Qt\Qt5.6.0\5.6\msvc2015"

    From the menu of QtCreator, I Opened "Tools>Options>Build&Run>Compilers". No auto-detected configuration.

    1 Reply Last reply
    0
    • J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 18 May 2016, 04:15 last edited by
      #2

      "About Qt Creator" isn't of any use in this case - it just says what was used to build Qt Creator.
      As far as I know if you install VS 2015 then C++ compiler is not installed by default. So, you need to check whether it is installed and if not install it. Then it should be autodetected (if not you can try to add it manually).

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

      N 1 Reply Last reply 18 May 2016, 04:21
      1
      • J jsulm
        18 May 2016, 04:15

        "About Qt Creator" isn't of any use in this case - it just says what was used to build Qt Creator.
        As far as I know if you install VS 2015 then C++ compiler is not installed by default. So, you need to check whether it is installed and if not install it. Then it should be autodetected (if not you can try to add it manually).

        N Offline
        N Offline
        neda
        wrote on 18 May 2016, 04:21 last edited by neda
        #3

        @jsulm
        Thank you.
        I try to add manual with this specification but it does not work and I have same error:

        Compilres:
        Compiler path:C:\Qt\Qt5.6.0\5.6\msvc2015\bin\windeployqt.exe
        Make path: C:\Qt\Qt5.6.0\5.6\msvc2015\bin\qmake.exe

        CMake:
        Path: C:\Qt\Qt5.6.0\5.6\msvc2015\bin\qmake.exe

        @jsulm said:

        I know if you install VS 2015 then C++ compiler is not installed by default. So, you need to check whether it is installed and if not install it.

        I see "microsoft visual c++ 20015 redistributable" in "Control Panel\All Control Panel Items\Programs and Features"

        1 Reply Last reply
        0
        • J Online
          J Online
          jsulm
          Lifetime Qt Champion
          wrote on 18 May 2016, 04:56 last edited by jsulm
          #4

          C:\Qt\Qt5.6.0\5.6\msvc2015\bin\windeployqt.exe - is not a compiler!
          C:\Qt\Qt5.6.0\5.6\msvc2015\bin\qmake.exe - is not make!
          C:\Qt\Qt5.6.0\5.6\msvc2015\bin\qmake.exe - is not cmake (you do not need CMake unless you want to use it).

          "microsoft visual c++ 20015 redistributable" - is not what I asked for. My question is: did you install C++ compiler when you installed VC2015? Can you try to create a simple C++ program in VS2015 and build it?

          If you do not have to use VS2015 you can install Qt for MinGW and MinGW using Qt online installer.
          MinGW is a Windows port of GCC compiler.

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

          1 Reply Last reply
          1
          • J Online
            J Online
            jsulm
            Lifetime Qt Champion
            wrote on 18 May 2016, 05:01 last edited by
            #5

            Did you really install VS2015?
            Do you have "Microsoft Visual Studio 2015" in Control Panel\All Control Panel Items\Programs and Features?
            If so then select it and press "Change" and make sure to install C++.

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

            1 Reply Last reply
            1

            3/5

            18 May 2016, 04:21

            • Login

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