Skip to contentSkip to conversation

qt5connectivity: Don't build scanner example without QtQuick

PATCH New Vicente Olivert Riera 2 participants 2 messages Feb 25, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5connectivity: Don't build scanner example without QtQuick

Apply upstream patch to fix this problem:

make[3]: Entering directory `/home/test/test/3/output/build/qt5connectivity-5.2.0/examples/bluetooth'
cd scanner/ && ( test -e Makefile || /home/test/test/3/output/host/usr/bin/qmake /home/test/test/3/output/build/qt5connectivity-5.2.0/examples/bluetooth/scanner/scanner.pro -o Makefile ) && /usr/bin/make -f Makefile Project ERROR: Unknown
module(s) in QT: quick

Fixes:
http://autobuild.buildroot.net/results/163/1635e4d385293ea560107bdf624033e8ffefbe72/

Upstream patch URL:
https://qt.gitorious.org/qt/qtconnectivity/commit/1454664752505f5870e4173d15362bfdfe4148e7/

---
 ...n_t-build-scanner-example-without-qtquick.patch |   30 ++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 package/qt5/qt5connectivity/qt5connectivity-0001-don_t-build-scanner-example-without-qtquick.patch
package/qt5/qt5connectivity/qt5connectivity-0001-don_t-build-scanner-example-without-qtquick.patch new file +30 -0
new file mode 100644
index 0000000..0751ba7
@@ -0,0 +1,30 @@
+qt5connectivity: Don't build scanner example without QtQuick
+Signed-off-by: Vicente Olivert Riera <[email protected]>
+
+From 1454664752505f5870e4173d15362bfdfe4148e7 Mon Sep 17 00:00:00 2001
+From: Alex Blasche <[email protected]>
+Date: Wed, 15 Jan 2014 12:11:31 +0100
+Subject: [PATCH] Don't build scanner example without QtQuick
+
+Task-number: QTBUG-35711
+Change-Id: I0406fb5edd8fb2a90046308853485eaaa4311a26
+Reviewed-by: Friedemann Kleint <[email protected]>
+Reviewed-by: Fabian Bumberger <[email protected]>
+Reviewed-by: Alex Blasche <[email protected]>
+---
+ examples/bluetooth/bluetooth.pro |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/examples/bluetooth/bluetooth.pro b/examples/bluetooth/bluetooth.pro
+index e3ef769..549bb7c 100644
+--- a/examples/bluetooth/bluetooth.pro
++++ b/examples/bluetooth/bluetooth.pro
+@@ -6,4 +6,4 @@ qtHaveModule(widgets) {
+                bttennis
+ }
+ 
+-SUBDIRS += scanner
++qtHaveModule(quick): SUBDIRS += scanner
+-- 
+1.7.1
+
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 qt5connectivity: Don't build scanner example without QtQuick

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

Apply upstream patch to fix this problem:
make[3]: Entering directory `/home/test/test/3/output/build/qt5connectivity-5.2.0/examples/bluetooth'
cd scanner/ && ( test -e Makefile || /home/test/test/3/output/host/usr/bin/qmake /home/test/test/3/output/build/qt5connectivity-5.2.0/examples/bluetooth/scanner/scanner.pro -o Makefile ) && /usr/bin/make -f Makefile Project ERROR: Unknown
module(s) in QT: quick

Quoted 7 lines

Fixes:

   http://autobuild.buildroot.net/results/163/1635e4d385293ea560107bdf624033e8ffefbe72/

Upstream patch URL:

   https://qt.gitorious.org/qt/qtconnectivity/commit/1454664752505f5870e4173d15362bfdfe4148e7/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard