[oe] [meta-qt5][PATCH 3/3] populate_sdk_qt5.bbclass: Add support for qtcreator-debug
Otavio Salvador
otavio at ossystems.com.br
Mon Feb 24 20:28:16 UTC 2014
This adds a new image feature for easier remote debugging with
QtCreator.
The qtcreator-debug needs to be added as a valid item for image
features and having it inside the populate_sdk_qt5 is too late. User
will see a parser error as OE-Core images does not inherit the classs.
The possible workaround for it is to include it inside layer.conf file
until a kind of "bbclassappend" support is in place.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
classes/populate_sdk_qt5.bbclass | 2 ++
conf/layer.conf | 2 ++
2 files changed, 4 insertions(+)
diff --git a/classes/populate_sdk_qt5.bbclass b/classes/populate_sdk_qt5.bbclass
index 635dd6d..c921983 100644
--- a/classes/populate_sdk_qt5.bbclass
+++ b/classes/populate_sdk_qt5.bbclass
@@ -52,3 +52,5 @@ toolchain_create_sdk_env_script_append () {
echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf
echo 'HostBinaries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}' >> $qtconf
}
+
+PACKAGE_GROUP_qtcreator-debug = "packagegroup-qt5-qtcreator-debug"
diff --git a/conf/layer.conf b/conf/layer.conf
index 3b47b7f..75d13a4 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -22,3 +22,5 @@ BBFILE_PATTERN_qt5-layer := "^${LAYERDIR}/"
# other layers.
BBFILE_PRIORITY_qt5-layer = "7"
+
+IMAGE_FEATURES[validitems] += "qtcreator-debug"
--
1.7.10.4
More information about the Openembedded-devel
mailing list