qt version issue/error with version for qgc
-
hey so let me clarify.I was using 5.15.2 at first and i didnt get the option to add kits and when i started using 5.12 then i had the option to select kits and configure my project in the creator interface.so now i want some guidance on why this is happening and how to fix this
-
Show you kits settings and make sure that 5.15 is available there. Also make sure to start with a clean build dir.
-
hey so ive installed the stable version 4.4.0 from the repository and im getting c++ compiler error stating that there isa c++ source file but no c++ compiler.So i think its a problem in kit configuration ill also share an image of my kit settings
-
hey so ive installed the stable version 4.4.0 from the repository and im getting c++ compiler error stating that there isa c++ source file but no c++ compiler.So i think its a problem in kit configuration ill also share an image of my kit settings
@plad Your build is complaining because the Kit (the set of compilers, Qt libraries and settings) that you are you are building your project with includes a version of Qt libraries other than 5.15.x. This is unrelated to the (ancient) version of Qt Creator you have (i.e. the 4.8.2 and 4.4.0 version you have quoted), only the Kits you have defined and selected for your project.
You need to select the a Kit referencing Qt 5.15+, defining it if needed.There's no reason you should not be using the latest version of Qt Creator supported on your platform (13+).
-
@You said
hey so im using qt 5.15.2
The only healthy kit you have for Qt is 5.15.17 using the MingW tool chain.
You need to select that kit to build your project with. That is something you seem to have failed to do.
@ I said
unrelated to the (ancient) version of Qt Creator you have (i.e. the 4.8.2 and 4.4.0 version you have quoted)
Ok, so these are versions for qgc.
-
@plad Please select the Kit you're using and show its configuration. Especially what compiler is set there.
"ive installed the stable version 4.4.0" - of what?
-
@You said
hey so im using qt 5.15.2
The only healthy kit you have for Qt is 5.15.17 using the MingW tool chain.
You need to select that kit to build your project with. That is something you seem to have failed to do.
@ I said
unrelated to the (ancient) version of Qt Creator you have (i.e. the 4.8.2 and 4.4.0 version you have quoted)
Ok, so these are versions for qgc.
-
@ChrisW67 its a part of the issue where im not able to select the valid kit which is 5.15.7.There is an error stating ithat i have to use 2017 visual studio 64 bit
@plad said in qt version issue/error with version for qgc:
error stating ithat i have to use 2017 visual studio 64 bit
That suggests that you installed Qt for MSVC, not MinGW. Fix that first.
Or qgroundcontrol does not support MinGW and requires MSVC, in that case use Qt for MSVC.