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. Change Compiler, from MinGW to MSVC not possible?

Change Compiler, from MinGW to MSVC not possible?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 1.6k 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.
  • RogerBretonR Offline
    RogerBretonR Offline
    RogerBreton
    wrote on last edited by
    #1

    I try to switch from MinGW to MSVC but it is not working?
    Here is the Default kit :
    Default Kit.jpg
    And here is the "New" Visual C++ Kit I tried to build:
    MSVC Kit.jpg
    Trouble is, when I try to make a new Project, I can't select the new Kit:
    Will not allow MSVC Kit.jpg
    I suspect Qt is not happy about the "Missing Qt Version" in the new Kit?

    Any help is appreciated.

    Roger Breton
    www.graxx.ca

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

      Hi and welcome to devnet,

      To use MSVC, you need a Qt version built with that compiler. You can't mix and match C++ libraries built with MinGW and MSVC.

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

      N 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi and welcome to devnet,

        To use MSVC, you need a Qt version built with that compiler. You can't mix and match C++ libraries built with MinGW and MSVC.

        N Offline
        N Offline
        noabena
        wrote on last edited by
        #3

        @SGaist Hi, I have the same problem that requires changing to MSVC, how do I get/download/compile it?

        jsulmJ 1 Reply Last reply
        0
        • N noabena

          @SGaist Hi, I have the same problem that requires changing to MSVC, how do I get/download/compile it?

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

          @noabena said in Change Compiler, from MinGW to MSVC not possible?:

          how do I get/download/compile it?

          Qt or MSVC?
          You can download community edition of MSVC from Microsoft (or the build tools).
          Qt can be installed in the usual way: using online installer (or, if you already installed some Qt versions, use the Qt Maintenance Tool to also install Qt for MSVC).

          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