In some conditions if both Qt5 and Qt6 are installed, CMake detects Qt5 as minimal required version instead of Qt6.
Pass QT_VERSION_MAJOR=${_QT_VER} to cmake args to prevent autodetect preffered version and use specified one.
Reported by: bulk -t
In some conditions if both Qt5 and Qt6 are installed, CMake detects Qt5 as minimal required version instead of Qt6.
Pass QT_VERSION_MAJOR=${_QT_VER} to cmake args to prevent autodetect preffered version and use specified one.
Reported by: bulk -t