* [Buildroot] [PATCH] qt5script: Check for QtGui before building the examples
@ 2014-04-17 15:56 Vicente Olivert Riera
2014-04-17 19:50 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Vicente Olivert Riera @ 2014-04-17 15:56 UTC (permalink / raw)
To: buildroot
Adding an upstream patch to fix an autobuild failure.
qsdbg and marshal examples need QtGui module. If QtGui is not installed
they fail to compile.
Upstream commit:
https://github.com/qtproject/qtscript/commit/e4453c92ee41943a3a1d67a725804a44e747f64e
Fixes:
http://autobuild.buildroot.net/results/0e6/0e63bc604f3ec422996eb0f5fd92f4437954ca04/
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
...ck-for-QtGui-before-building-the-examples.patch | 46 ++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
create mode 100644 package/qt5/qt5script/qt5script-0001-Check-for-QtGui-before-building-the-examples.patch
diff --git a/package/qt5/qt5script/qt5script-0001-Check-for-QtGui-before-building-the-examples.patch b/package/qt5/qt5script/qt5script-0001-Check-for-QtGui-before-building-the-examples.patch
new file mode 100644
index 0000000..b269740
--- /dev/null
+++ b/package/qt5/qt5script/qt5script-0001-Check-for-QtGui-before-building-the-examples.patch
@@ -0,0 +1,46 @@
+qt5script: Check for QtGui before building the examples
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+From e4453c92ee41943a3a1d67a725804a44e747f64e Mon Sep 17 00:00:00 2001
+From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+Date: Wed, 16 Apr 2014 12:19:17 +0100
+Subject: [PATCH] qtscript: Check for QtGui before building the examples
+
+qsdbg and marshal examples need QtGui module. If QtGui is not installed
+they fail to compile.
+
+Change-Id: I1af6a8b39a0848c8208fe94a26ee57409dfd9b41
+Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
+---
+ examples/script/script.pro | 9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/examples/script/script.pro b/examples/script/script.pro
+index 3e1eae6..cc97233 100644
+--- a/examples/script/script.pro
++++ b/examples/script/script.pro
+@@ -1,7 +1,7 @@
+ TEMPLATE = subdirs
+-SUBDIRS = \
+- customclass \
+- qsdbg
++SUBDIRS = customclass
++
++qtHaveModule(gui): SUBDIRS += qsdbg
+
+ qtHaveModule(widgets) {
+ SUBDIRS += \
+@@ -22,8 +22,7 @@ qtHaveModule(widgets) {
+ }
+
+ !wince {
+- SUBDIRS += \
+- marshal
++ qtHaveModule(gui): SUBDIRS += marshal
+ }
+
+ maemo5: CONFIG += qt_example
+--
+1.9.1
+
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] qt5script: Check for QtGui before building the examples
2014-04-17 15:56 [Buildroot] [PATCH] qt5script: Check for QtGui before building the examples Vicente Olivert Riera
@ 2014-04-17 19:50 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-04-17 19:50 UTC (permalink / raw)
To: buildroot
Dear Vicente Olivert Riera,
On Thu, 17 Apr 2014 16:56:27 +0100, Vicente Olivert Riera wrote:
> Adding an upstream patch to fix an autobuild failure.
>
> qsdbg and marshal examples need QtGui module. If QtGui is not installed
> they fail to compile.
>
> Upstream commit:
> https://github.com/qtproject/qtscript/commit/e4453c92ee41943a3a1d67a725804a44e747f64e
>
> Fixes:
> http://autobuild.buildroot.net/results/0e6/0e63bc604f3ec422996eb0f5fd92f4437954ca04/
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> ...ck-for-QtGui-before-building-the-examples.patch | 46 ++++++++++++++++++++
> 1 files changed, 46 insertions(+), 0 deletions(-)
> create mode 100644 package/qt5/qt5script/qt5script-0001-Check-for-QtGui-before-building-the-examples.patch
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-17 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 15:56 [Buildroot] [PATCH] qt5script: Check for QtGui before building the examples Vicente Olivert Riera
2014-04-17 19:50 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox