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. Adding MSVC2015 2015 64 bit to compiler ?

Adding MSVC2015 2015 64 bit to compiler ?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 1.2k 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.
  • A Offline
    A Offline
    aravmadd
    wrote on last edited by aravmadd
    #1
    Could not determine which "make" command to run. Check the "make" step in the build configuration.
    Error while building/deploying project del (kit: Desktop Qt 5.9.6 MSVC2015 64bit)
    When executing step "qmake"
    
    Running Windows Runtime device detection.
    C:/Qt/Qt5.9.6/5.9.6/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
    Project ERROR: Cannot run compiler 'cl'. Output:
    ===================
    ===================
    Maybe you forgot to setup the environment?
    Error while parsing file C:\Users\aravmadd\Documents\del\del\del.pro. Giving up.
    Project ERROR: Cannot run compiler 'cl'. Output:
    ===================
    ===================
    Maybe you forgot to setup the environment?
    Error while parsing file C:\Users\aravmadd\Documents\del\del\del.pro. Giving up.
    

    This is the error i am getting but when i am running with MinGW32 its working but I need MSVC2015 64 bit compiler for my things!

    Previously it used to work fine but my trial version of visual studio expired so i uninstalled visual studio and reinstalled free version again but from then i am getting this problem!

    I found like similar questions (https://forum.qt.io/topic/82391/project-error-cannot-run-compiler-g-maybe-you-forgot-to-setup-the-environment/12) and (https://forum.qt.io/topic/79532/msvc2015-64bit-compiler-kit-installation-requirements/5) and some more but none of them wrote what worked for them!

    I also checked documentation (https://doc.qt.io/qtcreator/creator-tool-chains.html) but it was not quite fruitful for me :-(!
    ![alt text](Capture9.PNG image url).
    From the above image you can get some infotmation of kits state!

    ![alt text](Capture9.PNG image url)
    In the above image you can find info about compilers

    Below you can find the build settings of MSVC2015_64bit_Release
    ![alt text](Capture9.PNG image url)

    From this we can find the no compiler set in kit In Make but i am not sure how to fix this!

    When creating the projects i am selecting to add all available kits and in that step it is showing me available kits but at the time of build it is throwing me error!
    Am I missing something?

    jsulmJ 1 Reply Last reply
    0
    • A aravmadd
      Could not determine which "make" command to run. Check the "make" step in the build configuration.
      Error while building/deploying project del (kit: Desktop Qt 5.9.6 MSVC2015 64bit)
      When executing step "qmake"
      
      Running Windows Runtime device detection.
      C:/Qt/Qt5.9.6/5.9.6/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
      Project ERROR: Cannot run compiler 'cl'. Output:
      ===================
      ===================
      Maybe you forgot to setup the environment?
      Error while parsing file C:\Users\aravmadd\Documents\del\del\del.pro. Giving up.
      Project ERROR: Cannot run compiler 'cl'. Output:
      ===================
      ===================
      Maybe you forgot to setup the environment?
      Error while parsing file C:\Users\aravmadd\Documents\del\del\del.pro. Giving up.
      

      This is the error i am getting but when i am running with MinGW32 its working but I need MSVC2015 64 bit compiler for my things!

      Previously it used to work fine but my trial version of visual studio expired so i uninstalled visual studio and reinstalled free version again but from then i am getting this problem!

      I found like similar questions (https://forum.qt.io/topic/82391/project-error-cannot-run-compiler-g-maybe-you-forgot-to-setup-the-environment/12) and (https://forum.qt.io/topic/79532/msvc2015-64bit-compiler-kit-installation-requirements/5) and some more but none of them wrote what worked for them!

      I also checked documentation (https://doc.qt.io/qtcreator/creator-tool-chains.html) but it was not quite fruitful for me :-(!
      ![alt text](Capture9.PNG image url).
      From the above image you can get some infotmation of kits state!

      ![alt text](Capture9.PNG image url)
      In the above image you can find info about compilers

      Below you can find the build settings of MSVC2015_64bit_Release
      ![alt text](Capture9.PNG image url)

      From this we can find the no compiler set in kit In Make but i am not sure how to fix this!

      When creating the projects i am selecting to add all available kits and in that step it is showing me available kits but at the time of build it is throwing me error!
      Am I missing something?

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

      @aravmadd Please select the MSVC Kit you want to use and post the screen-shot of its configuration. All your MSVC Kits have red icon next to them - that means they are not configured properly.

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

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DzCode
        wrote on last edited by
        #3

        You should have msvc15 kits configuration like below. (I am using Qt 5.9.7)

        qt kits.png

        jsulmJ 1 Reply Last reply
        0
        • D DzCode

          You should have msvc15 kits configuration like below. (I am using Qt 5.9.7)

          qt kits.png

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @DzCode What message do you see if you put the mouse cursor over the red icon?

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

          A 1 Reply Last reply
          0
          • jsulmJ jsulm

            @DzCode What message do you see if you put the mouse cursor over the red icon?

            A Offline
            A Offline
            aravmadd
            wrote on last edited by aravmadd
            #5

            @jsulm I fixed with this Qt re- installation and visual studios re-installation. I am using visual studio from my university license. Since it is expired , and also i need to do some work quickly so i removed this visual studio and reinstalled visual studio manually. This somehow messed with selecting proper configuration in qt.

            So Now it is working properly after installing visual studios and qt again!

            But Coming to your question! When I keep cursor at red button you are getting some information like not configuredproperly or some configurations are missing.

            I thought quick solution will be reinstalling again because of some deadlines!. I can also manually find things by the help of google and forum respones and fix it but considering my timeline i preferred reinstalling which is not good solution!

            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