All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yen-Chin Lee <coldnew.tw@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-raspberrypi][PATCH v2] qtbase: Add basic Qt5 building support
Date: Tue, 27 Jan 2015 14:26:55 +0800	[thread overview]
Message-ID: <1422340015-44159-1-git-send-email-coldnew.tw@gmail.com> (raw)

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@gmail.com>
---
 qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 qt5-layer/recipes-qt/qt5/qtbase_%.bbappend

diff --git a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
new file mode 100644
index 0000000..384df9f
--- /dev/null
+++ b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+QT_CONFIG_FLAGS_append_raspberrypi = " \
+    -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)



             reply	other threads:[~2015-01-27  6:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27  6:26 Yen-Chin Lee [this message]
2015-01-31  0:35 ` [oe] [meta-raspberrypi][PATCH v2] qtbase: Add basic Qt5 building support Andrei Gherzan
2015-02-03  3:32   ` coldnew.tw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422340015-44159-1-git-send-email-coldnew.tw@gmail.com \
    --to=coldnew.tw@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.