diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 368af3766ae94..5ea0ce1dd8b2d 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -57,7 +57,11 @@ LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3" QT5_MINOR_VERSION=$(get_version_component_range 2) readonly QT5_MINOR_VERSION -SLOT="5" +if [[ ${QT5_MINOR_VERSION} -ge 6 ]]; then + SLOT=5/$(get_version_component_range 1-2) +else + SLOT=5 +fi case ${PV} in 5.9999)