All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH v2] qtbase: Add basic Qt5 building support
@ 2015-01-27  6:26 Yen-Chin Lee
  2015-01-31  0:35 ` [oe] " Andrei Gherzan
  0 siblings, 1 reply; 3+ messages in thread
From: Yen-Chin Lee @ 2015-01-27  6:26 UTC (permalink / raw)
  To: openembedded-devel

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)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [oe] [meta-raspberrypi][PATCH v2] qtbase: Add basic Qt5 building support
  2015-01-27  6:26 [meta-raspberrypi][PATCH v2] qtbase: Add basic Qt5 building support Yen-Chin Lee
@ 2015-01-31  0:35 ` Andrei Gherzan
  2015-02-03  3:32   ` coldnew.tw
  0 siblings, 1 reply; 3+ messages in thread
From: Andrei Gherzan @ 2015-01-31  0:35 UTC (permalink / raw)
  To: Yen-Chin Lee; +Cc: yocto

Hello,

On Tue, Jan 27, 2015 at 02:26:55PM +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>
> ---
>  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)
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

First of all please send patches to meta-raspberrypi mailing list (yocto).
Use README for additional information.

For whatever reason I can't bake qtbase:
pulse/pulseaudio.h: No such file or directory
|  #include <pulse/pulseaudio.h>
|                               ^
| compilation terminated.
| Makefile:206: recipe for target 'pulseaudio.o' failed
| make: *** [pulseaudio.o] Error 1
| PulseAudio disabled.
| PulseAudio support cannot be enabled due to functionality tests!

Any idea why? Didn't you encounter this issue?

--
Andrei Gherzan


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [oe] [meta-raspberrypi][PATCH v2] qtbase: Add basic Qt5 building support
  2015-01-31  0:35 ` [oe] " Andrei Gherzan
@ 2015-02-03  3:32   ` coldnew.tw
  0 siblings, 0 replies; 3+ messages in thread
From: coldnew.tw @ 2015-02-03  3:32 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: yocto


Andrei Gherzan writes:

> Hello,
>
> On Tue, Jan 27, 2015 at 02:26:55PM +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>
>> ---
>>  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)
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> First of all please send patches to meta-raspberrypi mailing list (yocto).
> Use README for additional information.
>
> For whatever reason I can't bake qtbase:
> pulse/pulseaudio.h: No such file or directory
> |  #include <pulse/pulseaudio.h>
> |                               ^
> | compilation terminated.
> | Makefile:206: recipe for target 'pulseaudio.o' failed
> | make: *** [pulseaudio.o] Error 1
> | PulseAudio disabled.
> | PulseAudio support cannot be enabled due to functionality tests!
>
> Any idea why? Didn't you encounter this issue?

Last time I build with qt5 is fine, I think it's due to meta-qt5
upstream recently add function to let user to select alsa/pulseaudio.

I'll re-test this and resend it.

--


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-03  3:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-27  6:26 [meta-raspberrypi][PATCH v2] qtbase: Add basic Qt5 building support Yen-Chin Lee
2015-01-31  0:35 ` [oe] " Andrei Gherzan
2015-02-03  3:32   ` 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.