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. Project ERROR: Unsupported Qt version, 5.15 is required
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: Unsupported Qt version, 5.15 is required

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 6 Posters 2.9k Views 2 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.
  • V VIDYUL SHAH

    @SimonSchroeder I uninstalled everything and reinstall again. Currently using the latest version of Qt and Qt Creator but when I run qmake in command line it gives me error:
    Project MESSAGE: Qt version 5.12.8
    Project ERROR: Unsupported Qt version, 6.6 is required. Found 12

    Can you please guide me with the steps to resolve this error?

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

    @VIDYUL-SHAH said in Project ERROR: Unsupported Qt version, 5.15 is required:

    Project ERROR: Unsupported Qt version, 6.6 is required. Found 12

    The error message is quite clear: the QGroundControl version you're trying to build requires Qt 6.6. What QGroundControl branch are you trying to build?

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

    V 1 Reply Last reply
    0
    • jsulmJ jsulm

      @VIDYUL-SHAH said in Project ERROR: Unsupported Qt version, 5.15 is required:

      Project ERROR: Unsupported Qt version, 6.6 is required. Found 12

      The error message is quite clear: the QGroundControl version you're trying to build requires Qt 6.6. What QGroundControl branch are you trying to build?

      V Offline
      V Offline
      VIDYUL SHAH
      wrote on last edited by
      #5

      @jsulm Stable_V4.3 which required 5.15. I have already installed 5.15.2.

      C 1 Reply Last reply
      0
      • V VIDYUL SHAH

        @jsulm Stable_V4.3 which required 5.15. I have already installed 5.15.2.

        C Offline
        C Offline
        ChrisW67
        wrote on last edited by ChrisW67
        #6

        @VIDYUL-SHAH You are building from source on the main branch not the Stable_4.3 branch

        V 1 Reply Last reply
        0
        • C ChrisW67

          @VIDYUL-SHAH You are building from source on the main branch not the Stable_4.3 branch

          V Offline
          V Offline
          VIDYUL SHAH
          wrote on last edited by
          #7

          @ChrisW67 Sorry that I had forgot to mention that I have again clone the repo but this time I had cloned Stable_V4.3. And got the similar error but in this case it says:
          Project MESSAGE: Qt version 5.12.8
          Project ERROR: Unsupported Qt version, 5.15 is required. Found 12

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

            Hi,

            Looks like you may have multiple versions of Qt installed.
            How are you triggering the build of QGroundControl ?

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

            V 1 Reply Last reply
            0
            • V VIDYUL SHAH

              @ChrisW67 Sorry that I had forgot to mention that I have again clone the repo but this time I had cloned Stable_V4.3. And got the similar error but in this case it says:
              Project MESSAGE: Qt version 5.12.8
              Project ERROR: Unsupported Qt version, 5.15 is required. Found 12

              C Offline
              C Offline
              ChrisW67
              wrote on last edited by
              #9

              @VIDYUL-SHAH Now you are compiling the correct source against an older Qt version. As @SGaist says, you have more than one Qt library version present and have used the qmake from Qt 5.12.8 to start this build. If you are building inside Qt Creator then you need to define and select the correct kit. If you are building from a command line then ensure the qmake you run is the one from Qt 5.15.

              1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                Looks like you may have multiple versions of Qt installed.
                How are you triggering the build of QGroundControl ?

                V Offline
                V Offline
                VIDYUL SHAH
                wrote on last edited by
                #10

                @SGaist When I had opened the .pro file for the first time at that particular moment it asked me the compiler. So I selected 5.15 and deselected 6.6
                When I build using the hammer inside the Qt Creator, I am getting the error that I have already posted in
                https://forum.qt.io/topic/156672/error-after-compilation-and-deployment-qgroundcontrol-qgc-version-stable-4-3-using-qt-5-15-2-gcc-64bit
                And when I try to compile using the terminal I get the above error.

                Do I need to remove Qt 5.12 or I can specify a path some how?

                S 1 Reply Last reply
                0
                • V VIDYUL SHAH

                  @SGaist When I had opened the .pro file for the first time at that particular moment it asked me the compiler. So I selected 5.15 and deselected 6.6
                  When I build using the hammer inside the Qt Creator, I am getting the error that I have already posted in
                  https://forum.qt.io/topic/156672/error-after-compilation-and-deployment-qgroundcontrol-qgc-version-stable-4-3-using-qt-5-15-2-gcc-64bit
                  And when I try to compile using the terminal I get the above error.

                  Do I need to remove Qt 5.12 or I can specify a path some how?

                  S Offline
                  S Offline
                  SimonSchroeder
                  wrote on last edited by
                  #11

                  @VIDYUL-SHAH said in Project ERROR: Unsupported Qt version, 5.15 is required:

                  Do I need to remove Qt 5.12 or I can specify a path some how?

                  Locate where the qmake binary for Qt 5.15 is located. Then, use the full path to that binary to run this exact version of qmake. qmake has the paths to the correct libraries baked in and successive compilations will then use the correct version of Qt.

                  V 1 Reply Last reply
                  1
                  • S SimonSchroeder

                    @VIDYUL-SHAH said in Project ERROR: Unsupported Qt version, 5.15 is required:

                    Do I need to remove Qt 5.12 or I can specify a path some how?

                    Locate where the qmake binary for Qt 5.15 is located. Then, use the full path to that binary to run this exact version of qmake. qmake has the paths to the correct libraries baked in and successive compilations will then use the correct version of Qt.

                    V Offline
                    V Offline
                    VIDYUL SHAH
                    wrote on last edited by
                    #12

                    @SimonSchroeder and everyone who helped here, thanks for the suggestion. I had found the qmake to be at different location
                    /home/user_name/Qt/5.15.2/gcc_64/bin/qmake

                    1 Reply Last reply
                    0
                    • V VIDYUL SHAH has marked this topic as solved on
                    • T Offline
                      T Offline
                      Tokyo
                      wrote on last edited by
                      #13

                      Can anyone help me there is no old version available in qt official website if i install qt6 is installing how to install qt5

                      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