How to use Qt 5.15 on ubuntu 20.04
-
Hallo,
I'm running Qt dev environment on ubuntu 20.04 and I need to compile sources of an application which requires Qt 5.15 (https://github.com/mavlink/qgroundcontrol/).
I installed the base package of qt 5.15 under /opt/qt515... I set Qt Creator trough tools->Qt version to use also Qt 15.5 (pointing to the specific qmake version)... source is not compiling at all ... application .pro file contains this check:!contains(CONFIG, DISABLE_QT_VERSION_CHECK) { !equals(QT_MAJOR_VERSION, 5) | !equals(QT_MINOR_VERSION, 15) { error("Unsupported Qt version, 5.15 is required") } }And of course this's the only error I got when I try to build/clean the source code.
What I'm missing?Best regards,
Mike -
if you do not select build dir, qt creator will create one for you with name like
Desktop_Qt_5_15_2_GCC_64bit-Debug or
Desktop_Qt_5_15_2_GCC_64bit-Release
Click Projects->Build
check if there is Qt_5_15_2_GCC_64bit in the build directory on General Pane.
If not, that means your Qt selection does not work. Go select Qt 15.5 again on Options and do not forget to click Apply button. Otherwise, it is not selected.I guess qgroundcontrol needs 5.15.2.