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 Cmake configuration has no path to a C++ compiler set.

Qt Cmake configuration has no path to a C++ compiler set.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qtcreatorcmakec++compiler
5 Posts 4 Posters 8.1k 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.
  • S Offline
    S Offline
    Shubby
    wrote on 11 May 2017, 10:07 last edited by
    #1

    The warning I get is: "Qt CMake configuration has no path to a C++ compiler set, even though the kit has a valid tool chain."

    I am not sure how to change the CMake configuration so that it has a path to the compiler. I do have a C++ compiler installed as it works with VS but Qt seems to run into some problem.

    This is a screen shot of what appears as the warning: https://i.stack.imgur.com/ETET6.jpg

    This is the error I get trying to run anything:

    jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\game.obj] Error 1
    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\spaceship.obj] Error 1
    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\laserbeam.obj] Error 1
    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\config.obj] Error 1
    jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\iofile.obj] Error 1
    jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile [debug] Error 2
    17:06:30: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
    Error while building/deploying project Invaders (kit: Desktop Qt 5.8.0 MSVC2015_64bit)
    The kit Desktop Qt 5.8.0 MSVC2015_64bit has configuration issues which might be the root cause for this problem.
    When executing step "Make"
    
    X 1 Reply Last reply 6 May 2019, 18:20
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 May 2017, 21:04 last edited by
      #2

      Hi and welcome to devnet,

      Did you install Visual Studio 2015 ? If so did you install the C++ component ?

      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
      • S Shubby
        11 May 2017, 10:07

        The warning I get is: "Qt CMake configuration has no path to a C++ compiler set, even though the kit has a valid tool chain."

        I am not sure how to change the CMake configuration so that it has a path to the compiler. I do have a C++ compiler installed as it works with VS but Qt seems to run into some problem.

        This is a screen shot of what appears as the warning: https://i.stack.imgur.com/ETET6.jpg

        This is the error I get trying to run anything:

        jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\game.obj] Error 1
        'cl' is not recognized as an internal or external command,
        operable program or batch file.
        jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\spaceship.obj] Error 1
        'cl' is not recognized as an internal or external command,
        operable program or batch file.
        jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\laserbeam.obj] Error 1
        'cl' is not recognized as an internal or external command,
        operable program or batch file.
        'cl' is not recognized as an internal or external command,
        operable program or batch file.
        jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\config.obj] Error 1
        jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\iofile.obj] Error 1
        jom: C:\Users\User\Desktop\inv\build-Invaders-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug\Makefile [debug] Error 2
        17:06:30: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
        Error while building/deploying project Invaders (kit: Desktop Qt 5.8.0 MSVC2015_64bit)
        The kit Desktop Qt 5.8.0 MSVC2015_64bit has configuration issues which might be the root cause for this problem.
        When executing step "Make"
        
        X Offline
        X Offline
        xiaocao
        wrote on 6 May 2019, 18:20 last edited by
        #3

        @Shubby hey friends, have you solved this problem? i meet the same problem,i will be grateful for your hrlp

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 6 May 2019, 20:04 last edited by
          #4

          @xiaocao Hi and welcome to devnet,

          Then you should start by answering the questions I asked.

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

          P 1 Reply Last reply 18 Jul 2020, 19:36
          0
          • S SGaist
            6 May 2019, 20:04

            @xiaocao Hi and welcome to devnet,

            Then you should start by answering the questions I asked.

            P Offline
            P Offline
            piao
            wrote on 18 Jul 2020, 19:36 last edited by
            #5

            @SGaist Hi SGaist, I already installed vs2017. Kit Desktop Qt 5.14.2 MSVC2017 64bit is normal.There is a warning
            for 32bit. The warning:"Qt CMake configuration has no path to a C++ compiler set, even though the kit has a valid tool chain."

            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