Use global variable for Qt version

Add a global variable that can be used whenever meta-qt6 layer is
included in the build to identify the Qt version.

Change-Id: I3d40d151e0be9f9123d2bf7cbe34a44861e7b093
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit a6f9d2499b)
This commit is contained in:
Samuli Piippo 2023-01-03 08:44:44 +00:00
parent a2c2c0d703
commit cd751f5ae2
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ QT_GIT_PROJECT ?= "qt"
QT_GIT ?= "git://code.qt.io" QT_GIT ?= "git://code.qt.io"
QT_GIT_PROTOCOL ?= "git" QT_GIT_PROTOCOL ?= "git"
QT_EDITION ?= "opensource" QT_EDITION ?= "opensource"
QT_VERSION = "6.4.3"
QT_COMMERCIAL_MODULES ?= "0" QT_COMMERCIAL_MODULES ?= "0"

View File

@ -12,7 +12,7 @@ CVE_PRODUCT = "qt"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "6.4.3" PV = "${QT_VERSION}"
SRCREV = "${SRCREV_${QT_MODULE}}" SRCREV = "${SRCREV_${QT_MODULE}}"