Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Can't configure Qt Creator with MSVC 2015 compiler
Forum Updated to NodeBB v4.3 + New Features

Can't configure Qt Creator with MSVC 2015 compiler

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 4 Posters 7.9k Views 3 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.
  • D Offline
    D Offline
    darkhorse
    wrote on 27 Mar 2018, 02:07 last edited by
    #1

    I installed Qt 5.7.1 msvc2015 x64. I have the MSVC 2015 compilers installed for C++ and can compile C++ code in Visual Studio. Somehow I'm unable to configure QtCreator despite of having the right combination of Qt and Visual Studio (I'm pretty sure about this). I now have a red warning sign as seen in the images. It says no compiler can produce code for this Qt version.

    I had this combination running fine on my previous laptop. After upgrading my laptop, I had to re-install everything and somehow I'm stuck here. Is there anything I'm missing here? Any help would be greatly appreciated!! Thanks!4_1522116420953_Qt Versions.PNG 3_1522116420952_Kits.PNG 2_1522116420952_Debugger.PNG 1_1522116420951_Compilers.PNG 0_1522116420950_Cmake.PNG

    J 1 Reply Last reply 27 Mar 2018, 05:41
    0
    • D darkhorse
      27 Mar 2018, 02:07

      I installed Qt 5.7.1 msvc2015 x64. I have the MSVC 2015 compilers installed for C++ and can compile C++ code in Visual Studio. Somehow I'm unable to configure QtCreator despite of having the right combination of Qt and Visual Studio (I'm pretty sure about this). I now have a red warning sign as seen in the images. It says no compiler can produce code for this Qt version.

      I had this combination running fine on my previous laptop. After upgrading my laptop, I had to re-install everything and somehow I'm stuck here. Is there anything I'm missing here? Any help would be greatly appreciated!! Thanks!4_1522116420953_Qt Versions.PNG 3_1522116420952_Kits.PNG 2_1522116420952_Debugger.PNG 1_1522116420951_Compilers.PNG 0_1522116420950_Cmake.PNG

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 27 Mar 2018, 05:41 last edited by
      #2

      @darkhorse Did you try to add a Kit manually?
      And I'm wondering about compiler version 15.0 - Visual Studio 2015 C++ compiler is actually 14.0.
      Are you sure you installed VS2015?

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

      J 1 Reply Last reply 27 Mar 2018, 07:01
      4
      • J jsulm
        27 Mar 2018, 05:41

        @darkhorse Did you try to add a Kit manually?
        And I'm wondering about compiler version 15.0 - Visual Studio 2015 C++ compiler is actually 14.0.
        Are you sure you installed VS2015?

        J Offline
        J Offline
        JKSH
        Moderators
        wrote on 27 Mar 2018, 07:01 last edited by
        #3

        @darkhorse said in Can't configure Qt Creator with MSVC 2015 compiler:

        I have the MSVC 2015 compilers installed for C++

        @jsulm is right. "Microsoft Visual C++ Compiler 15.0" is MSVC 2017, not MSVC 2015.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        1
        • D Offline
          D Offline
          darkhorse
          wrote on 28 Mar 2018, 20:35 last edited by
          #4

          My bad, I worded that wrong. I have Visual Studio 2017 and Visual C++ Compiler 15.0 ie MSVC2017. But I don't believe there was a Qt MSVC2017 version ever. Is there a way I can make it work with the current version of Qt 5.7.1 MSVC2015 x64?

          Visual Studio: 2017 Professional
          Qt: 5.7.1-msvc2015-x64

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 28 Mar 2018, 20:45 last edited by
            #5

            Hi,

            Qt 5.10 at least has a 64 VS2017 pre-built package but 5.9 is also likely to have it.

            What you have to do is to create a new kit where you set your VS2015 but configure the VS2017 compiler.

            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
            3
            • D Offline
              D Offline
              darkhorse
              wrote on 28 Mar 2018, 22:42 last edited by
              #6

              @SGaist and @jsulm : Thanks guys. Manually creating the kit solved the problem. But somehow Qt Creator kind of doesn't respond to any mouse clicks in the main IDE window, almost as if it has frozen. The toolbar responds fine. Can't build, class files don't load. I'm not sure what this is related to, my project or Qt itself. This same setup project worked fine initially on Qt Creator.

              1 Reply Last reply
              0

              1/6

              27 Mar 2018, 02:07

              • Login

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