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 Kits error MSVC and MINGW in Qt-6.6.0

Qt Kits error MSVC and MINGW in Qt-6.6.0

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
kitsmsvc2019mingw 64 bit
6 Posts 3 Posters 851 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.
  • R Offline
    R Offline
    Rohith
    wrote on last edited by
    #1

    Hello,

    I have installed Qt Opensource via Windows command line interface using command

    C:\Users\User\Downloads\qt-unified-windows-x64-4.7.0-online.exe --mirror http://www.nic.funet.fi/pub/mirrors/download.qt.project.org --root C:\Qt\ --accept-licenses --default-answer--confirm-command install qt.qt6.670.win64_msvc2019

    The installation was success but i am an error with Kits MSVC and MINGW

    851395a8-65d1-4de3-ba2d-64e5be067b06-image.png

    For both Kits there is some error i have tried selecting between Options like Debug and Release but could not able to understand where things are going wrong. Attaching screen shots for both the kits below

    For MSVC when hovered on the Yellow Icon the following is seen and i also observed C & C++ compilers were not pre-configured
    07c383a1-1849-4caa-992b-f6772800fa24-image.png

    For MINGW
    f5364bfc-572d-4cd7-aba6-88581dc1ac1b-image.png

    Unable to understand why CMAKE settings stuff is being shown in am familiar with earlier version - 5.9.5 where i remember used Build Steps -> qmake (somethings like this).

    Any help is appreciated, thanks in advance !!

    Regards,
    Rohith.G

    cristian-adamC Ronel_qtmasterR 2 Replies Last reply
    0
    • R Rohith

      Hello,

      I have installed Qt Opensource via Windows command line interface using command

      C:\Users\User\Downloads\qt-unified-windows-x64-4.7.0-online.exe --mirror http://www.nic.funet.fi/pub/mirrors/download.qt.project.org --root C:\Qt\ --accept-licenses --default-answer--confirm-command install qt.qt6.670.win64_msvc2019

      The installation was success but i am an error with Kits MSVC and MINGW

      851395a8-65d1-4de3-ba2d-64e5be067b06-image.png

      For both Kits there is some error i have tried selecting between Options like Debug and Release but could not able to understand where things are going wrong. Attaching screen shots for both the kits below

      For MSVC when hovered on the Yellow Icon the following is seen and i also observed C & C++ compilers were not pre-configured
      07c383a1-1849-4caa-992b-f6772800fa24-image.png

      For MINGW
      f5364bfc-572d-4cd7-aba6-88581dc1ac1b-image.png

      Unable to understand why CMAKE settings stuff is being shown in am familiar with earlier version - 5.9.5 where i remember used Build Steps -> qmake (somethings like this).

      Any help is appreciated, thanks in advance !!

      Regards,
      Rohith.G

      cristian-adamC Online
      cristian-adamC Online
      cristian-adam
      wrote on last edited by
      #2

      CMake project configuration failed means that you need to take action.

      In the bottom list at 1 Issues you have 4 issues that should shed some light on what happened.

      CMake configuration output is located in the 9 General Messages pane.

      The MinGW toolchain should work out of the box, since it's part of the Qt SDK.

      Visual Studio requires external configuration. If you have Visual Studio 2019 (or 2022) installed check in Preferences > Kits > Compilers the status.

      Visual Studio does update their C++ compiler pretty often, sometimes Qt Creator needs a Remove All followed by a Re-detect so that it picks up the updated Visual C++ compilers.

      Unfortunately the screenshots do not contain the necessary information to find out what is going on...

      R 1 Reply Last reply
      1
      • cristian-adamC cristian-adam

        CMake project configuration failed means that you need to take action.

        In the bottom list at 1 Issues you have 4 issues that should shed some light on what happened.

        CMake configuration output is located in the 9 General Messages pane.

        The MinGW toolchain should work out of the box, since it's part of the Qt SDK.

        Visual Studio requires external configuration. If you have Visual Studio 2019 (or 2022) installed check in Preferences > Kits > Compilers the status.

        Visual Studio does update their C++ compiler pretty often, sometimes Qt Creator needs a Remove All followed by a Re-detect so that it picks up the updated Visual C++ compilers.

        Unfortunately the screenshots do not contain the necessary information to find out what is going on...

        R Offline
        R Offline
        Rohith
        wrote on last edited by
        #3

        Hello @cristian-adam ,

        Can you please let me know what screenshot's or additional information you need for understanding in detail ?

        cristian-adamC 1 Reply Last reply
        0
        • R Rohith

          Hello @cristian-adam ,

          Can you please let me know what screenshot's or additional information you need for understanding in detail ?

          cristian-adamC Online
          cristian-adamC Online
          cristian-adam
          wrote on last edited by
          #4

          It's the [cmake] content of General Messages. You can clear the content before running Build > Run CMake.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Rohith
            wrote on last edited by
            #5

            I am seeing the Configuration error (unable to build the project) whenever I am selecting the option "Creates a Project that you can open in Desing Studio"

            image.png

            1 Reply Last reply
            0
            • R Rohith

              Hello,

              I have installed Qt Opensource via Windows command line interface using command

              C:\Users\User\Downloads\qt-unified-windows-x64-4.7.0-online.exe --mirror http://www.nic.funet.fi/pub/mirrors/download.qt.project.org --root C:\Qt\ --accept-licenses --default-answer--confirm-command install qt.qt6.670.win64_msvc2019

              The installation was success but i am an error with Kits MSVC and MINGW

              851395a8-65d1-4de3-ba2d-64e5be067b06-image.png

              For both Kits there is some error i have tried selecting between Options like Debug and Release but could not able to understand where things are going wrong. Attaching screen shots for both the kits below

              For MSVC when hovered on the Yellow Icon the following is seen and i also observed C & C++ compilers were not pre-configured
              07c383a1-1849-4caa-992b-f6772800fa24-image.png

              For MINGW
              f5364bfc-572d-4cd7-aba6-88581dc1ac1b-image.png

              Unable to understand why CMAKE settings stuff is being shown in am familiar with earlier version - 5.9.5 where i remember used Build Steps -> qmake (somethings like this).

              Any help is appreciated, thanks in advance !!

              Regards,
              Rohith.G

              Ronel_qtmasterR Offline
              Ronel_qtmasterR Offline
              Ronel_qtmaster
              wrote on last edited by Ronel_qtmaster
              #6

              @Rohith Hi. To have cmake to work for your project in this case , just unset the command CMAKE_PROJECT_INCLUDE_BEFORE and try again.
              For visual studio Kit, just install microsoft visual studio 2019 build tools.
              Hope it helps

              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