[yocto] [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support
Yen-Chin Lee
coldnew.tw at gmail.com
Fri Oct 24 19:21:47 PDT 2014
To build raspberrypi with Qt5, we need to add extra QT_CONFIG_FLAGS to
indicate device config.
Signed-off-by: Yen-Chin Lee <coldnew.tw at gmail.com>
---
recipes-qt/qt5/qtbase_%.bbappend | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend
new file mode 100644
index 0000000..c994cf5
--- /dev/null
+++ b/recipes-qt/qt5/qtbase_%.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+QT_CONFIG_FLAGS += " \
+ -device linux-rasp-pi-g++ \
+ -device-option CROSS_COMPILE=${TARGET_PREFIX} \
+ -I${STAGING_DIR_TARGET}${includedir}/interface/vcos/pthreads \
+"
--
1.9.3 (Apple Git-50)
More information about the yocto
mailing list