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
QtWS25 Last Chance

Project ERROR: Unsupported Qt version, 5.15 is required

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 6 Posters 2.3k 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.
  • V Offline
    V Offline
    VIDYUL SHAH
    wrote on 8 Dec 2023, 12:04 last edited by
    #1

    I have downloaded, Qt Creator 4.15.2 Seperately and Qt 5.15.2 Seperately in different folders qtcreator-4.15.2 and Qt respectively, having same parent directory. I am unable to link both as I want to build QGroundControl which is compatible with the above version. How can I link it for build and run option or I need to link it using Kits.
    I know I need to go to options->kits but then what I need to do?
    Please let me know the steps.

    1 Reply Last reply
    0
    • S SimonSchroeder
      17 May 2024, 06:34

      @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 17 May 2024, 10:10 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
      • S Offline
        S Offline
        SimonSchroeder
        wrote on 11 Dec 2023, 08:09 last edited by
        #2

        First of all, the version of Qt Creator does not matter. Just use the newest version.

        A kit consists of a compiler and a Qt library. Under options->kits you will find several tabs in the dialog. First, make sure you have both a compiler and the proper Qt version set up. If this is the case, only then can you create a kit from a compiler version and a Qt version.

        V 1 Reply Last reply 15 Dec 2023, 08:28
        1
        • S SimonSchroeder
          11 Dec 2023, 08:09

          First of all, the version of Qt Creator does not matter. Just use the newest version.

          A kit consists of a compiler and a Qt library. Under options->kits you will find several tabs in the dialog. First, make sure you have both a compiler and the proper Qt version set up. If this is the case, only then can you create a kit from a compiler version and a Qt version.

          V Offline
          V Offline
          VIDYUL SHAH
          wrote on 15 Dec 2023, 08:28 last edited by
          #3

          @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?

          J 1 Reply Last reply 15 Dec 2023, 08:31
          0
          • V VIDYUL SHAH
            15 Dec 2023, 08:28

            @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?

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 15 Dec 2023, 08:31 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 16 May 2024, 11:09
            0
            • J jsulm
              15 Dec 2023, 08:31

              @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 16 May 2024, 11:09 last edited by
              #5

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

              C 1 Reply Last reply 16 May 2024, 11:26
              0
              • V VIDYUL SHAH
                16 May 2024, 11:09

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

                C Offline
                C Offline
                ChrisW67
                wrote on 16 May 2024, 11:26 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 16 May 2024, 12:01
                0
                • C ChrisW67
                  16 May 2024, 11:26

                  @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 16 May 2024, 12:01 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 16 May 2024, 23:08
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 16 May 2024, 19:06 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 17 May 2024, 04:23
                    0
                    • V VIDYUL SHAH
                      16 May 2024, 12:01

                      @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 16 May 2024, 23:08 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
                      • S SGaist
                        16 May 2024, 19:06

                        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 17 May 2024, 04:23 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 17 May 2024, 06:34
                        0
                        • V VIDYUL SHAH
                          17 May 2024, 04:23

                          @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 17 May 2024, 06:34 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 17 May 2024, 10:10
                          1
                          • S SimonSchroeder
                            17 May 2024, 06:34

                            @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 17 May 2024, 10:10 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 17 May 2024, 10:10
                            • T Offline
                              T Offline
                              Tokyo
                              wrote on 11 Jun 2024, 13:47 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