[yocto] [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support

coldnew.tw at gmail.com coldnew.tw at gmail.com
Mon Jan 26 18:35:54 PST 2015


Hi:

Sorry for the late reply :-S

I'll resend the patch to move it to qt5-layers just like
meta-fsl-arm does, just wait for a while :).

Andrei Gherzan writes:

> Hello,
>
> On Thu, Nov 20, 2014 at 1:58 PM, Andrei Gherzan <andrei at gherzan.ro> wrote:
>
>> 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 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 \
>> > +"
>>
>> 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
>>
>>
> Do you still work on this? I'm trying to catch up with old patches. Any
> updates on this one?

--
Sent from emacs with mu4e



More information about the yocto mailing list