Project ERROR: Unsupported Qt version, 5.15 is required
-
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. -
@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.@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 -
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.
-
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.
@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? -
@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?@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?
-
@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?
@jsulm Stable_V4.3 which required 5.15. I have already installed 5.15.2.
-
@jsulm Stable_V4.3 which required 5.15. I have already installed 5.15.2.
@VIDYUL-SHAH You are building from source on the main branch not the Stable_4.3 branch
-
@VIDYUL-SHAH You are building from source on the main branch not the Stable_4.3 branch
@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 -
Hi,
Looks like you may have multiple versions of Qt installed.
How are you triggering the build of QGroundControl ? -
@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@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 theqmake
you run is the one from Qt 5.15. -
Hi,
Looks like you may have multiple versions of Qt installed.
How are you triggering the build of QGroundControl ?@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?
-
@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?
@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. -
@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.@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 -