All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Gherzan <andrei@gherzan.ro>
To: Yen-Chin Lee <coldnew.tw@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support
Date: Thu, 20 Nov 2014 12:58:17 +0100	[thread overview]
Message-ID: <20141120115817.GA24610@gmail.com> (raw)
In-Reply-To: <1414203707-21296-1-git-send-email-coldnew.tw@gmail.com>

Hello Yen,

On Sat, Oct 25, 2014 at 10:21:47AM +0800, Yen-Chin Lee wrote:
> 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>
> ---
>  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 \
> +"

If we add this append we need to change the layer dependencies and probably add
this package to the test image too. But maybe we can avoid this by using a
separate layer specific directory as meta-fsl-arm does with qt5-layer.

Check https://github.com/Freescale/meta-fsl-arm and
https://github.com/Freescale/meta-fsl-arm/blob/master/conf/layer.conf

P.S.: Sorry for this very late reply but I had a very busy period lately.
Thanks for understanding.
--
Andrei Gherzan


  reply	other threads:[~2014-11-20 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-25  2:21 [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support Yen-Chin Lee
2014-11-20 11:58 ` Andrei Gherzan [this message]
2015-01-25 23:01   ` Andrei Gherzan
2015-01-27  2:35     ` 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=20141120115817.GA24610@gmail.com \
    --to=andrei@gherzan.ro \
    --cc=coldnew.tw@gmail.com \
    --cc=yocto@yoctoproject.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.