* [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support
@ 2014-10-25 2:21 Yen-Chin Lee
2014-11-20 11:58 ` Andrei Gherzan
0 siblings, 1 reply; 4+ messages in thread
From: Yen-Chin Lee @ 2014-10-25 2:21 UTC (permalink / raw)
To: yocto
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 \
+"
--
1.9.3 (Apple Git-50)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support
2014-10-25 2:21 [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support Yen-Chin Lee
@ 2014-11-20 11:58 ` Andrei Gherzan
2015-01-25 23:01 ` Andrei Gherzan
0 siblings, 1 reply; 4+ messages in thread
From: Andrei Gherzan @ 2014-11-20 11:58 UTC (permalink / raw)
To: Yen-Chin Lee; +Cc: yocto
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support
2014-11-20 11:58 ` Andrei Gherzan
@ 2015-01-25 23:01 ` Andrei Gherzan
2015-01-27 2:35 ` coldnew.tw
0 siblings, 1 reply; 4+ messages in thread
From: Andrei Gherzan @ 2015-01-25 23:01 UTC (permalink / raw)
To: Yen-Chin Lee; +Cc: Yocto Project
[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]
Hello,
On Thu, Nov 20, 2014 at 1:58 PM, Andrei Gherzan <andrei@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@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?
--
*Andrei Gherzan*
[-- Attachment #2: Type: text/html, Size: 2471 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support
2015-01-25 23:01 ` Andrei Gherzan
@ 2015-01-27 2:35 ` coldnew.tw
0 siblings, 0 replies; 4+ messages in thread
From: coldnew.tw @ 2015-01-27 2:35 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: Yocto Project
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@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@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-27 2:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-25 2:21 [meta-raspberrypi][PATCH] qtbase: Add basic Qt5 building support Yen-Chin Lee
2014-11-20 11:58 ` Andrei Gherzan
2015-01-25 23:01 ` Andrei Gherzan
2015-01-27 2:35 ` coldnew.tw
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.