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. Qt 6 with MSVC 2022

Qt 6 with MSVC 2022

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 6 Posters 14.8k 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.
  • N Offline
    N Offline
    nezihe
    wrote on 7 Apr 2022, 10:43 last edited by
    #1

    Dear Qt Community,
    I would like to install Qt 6.x version with MS Visual Studio 2022 compiler, however I couldn't find MSVC 2022 on the "Select Component Page" as you can see below image:
    41aa69f5-a996-4db7-847b-e9e6a378f1b0-image.png

    Only shows me MSVC 2019. How can I install the Qt 6.x with MSVC 2022?

    Thank you in advance!

    O J 2 Replies Last reply 7 Apr 2022, 10:49
    3
    • N nezihe
      7 Apr 2022, 10:43

      Dear Qt Community,
      I would like to install Qt 6.x version with MS Visual Studio 2022 compiler, however I couldn't find MSVC 2022 on the "Select Component Page" as you can see below image:
      41aa69f5-a996-4db7-847b-e9e6a378f1b0-image.png

      Only shows me MSVC 2019. How can I install the Qt 6.x with MSVC 2022?

      Thank you in advance!

      O Offline
      O Offline
      ollarch
      wrote on 7 Apr 2022, 10:49 last edited by
      #2

      @nezihe Seems that is not available yet. You can install 2019 version and install 2019 compiler into Visual Studio. Don't forget to change the complier version on Project properties.

      C 1 Reply Last reply 5 Jan 2024, 19:07
      1
      • N nezihe
        7 Apr 2022, 10:43

        Dear Qt Community,
        I would like to install Qt 6.x version with MS Visual Studio 2022 compiler, however I couldn't find MSVC 2022 on the "Select Component Page" as you can see below image:
        41aa69f5-a996-4db7-847b-e9e6a378f1b0-image.png

        Only shows me MSVC 2019. How can I install the Qt 6.x with MSVC 2022?

        Thank you in advance!

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 7 Apr 2022, 10:49 last edited by jsulm 4 Jul 2022, 10:50
        #3

        @nezihe MSVC2019 Qt build should work with MSVC2022 just fine. Newer MS C++ compilers are compatible with each other.

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

        1 Reply Last reply
        4
        • N Offline
          N Offline
          nezihe
          wrote on 7 Apr 2022, 11:07 last edited by
          #4

          Many thanks to you. You cleared my confusion. My problem is solved.

          1 Reply Last reply
          1
          • O ollarch
            7 Apr 2022, 10:49

            @nezihe Seems that is not available yet. You can install 2019 version and install 2019 compiler into Visual Studio. Don't forget to change the complier version on Project properties.

            C Offline
            C Offline
            calmstack
            wrote on 5 Jan 2024, 19:07 last edited by
            #5

            @ollarch I had a lot of problems with Qt6 and MSVC2022. It doesn't work for everything (e.g: gRPC + abseil).

            C 1 Reply Last reply 5 Jan 2024, 19:34
            0
            • C calmstack
              5 Jan 2024, 19:07

              @ollarch I had a lot of problems with Qt6 and MSVC2022. It doesn't work for everything (e.g: gRPC + abseil).

              C Offline
              C Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 5 Jan 2024, 19:34 last edited by
              #6

              @calmstack Qt6 works fine with MSVC2022 - what problems did you encounter?

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              0
              • T Offline
                T Offline
                thomas_arri
                wrote on 28 Jun 2024, 15:08 last edited by
                #7

                The problem i have is to deal with <QUiLoader>. Header file is not found!

                C 1 Reply Last reply 28 Jun 2024, 15:33
                0
                • T thomas_arri
                  28 Jun 2024, 15:08

                  The problem i have is to deal with <QUiLoader>. Header file is not found!

                  C Offline
                  C Offline
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on 28 Jun 2024, 15:33 last edited by
                  #8

                  @thomas_arri said in Qt 6 with MSVC 2022:

                  The problem i have is to deal with <QUiLoader>. Header file is not found!

                  Then you should do what the documentation states:

                  Header: #include <QUiLoader>
                  CMake: find_package(Qt6 REQUIRED COMPONENTS UiTools)
                  target_link_libraries(mytarget PRIVATE Qt6::UiTools)
                  qmake: QT += uitools

                  Don't know what this has to do with the topic though.

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  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