mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
qt5connectivity: fix examples compile without Qt gui module
Add upstream suggested patch to fix heartrate-server (needs only core and bluetooth modules). Fixes [1]: make[3]: Entering directory `.../build/qt5connectivity-5.9.2/examples/bluetooth' cd heartrate-server/ && ( test -e Makefile || .../output/host/bin/qmake -o Makefile .../build/qt5connectivity-5.9.2/examples/bluetooth/heartrate-server/heartrate-server.pro ) && /usr/bin/make -f Makefile Project ERROR: Unknown module(s) in QT: gui make[3]: *** [sub-heartrate-server-make_first] Error 3 make[3]: Leaving directory `.../build/qt5connectivity-5.9.2/examples/bluetooth' [1] http://autobuild.buildroot.net/results/387a21fe7fc672e5668b0afddc138cbb7197d234 Signed-off-by: Peter Seiderer <ps.report@gmx.net> [Thomas: move patch to 5.9.2 subfolder, since it only applies to 5.9.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5e7ddc54df
commit
553a736ebb
@ -0,0 +1,32 @@
|
||||
From 13c2f56cc9c3bbfe0c96031107e7fafd437703d9 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Sat, 18 Nov 2017 21:07:44 +0100
|
||||
Subject: [PATCH] Example heartrate-server needs only core and bluetooth module
|
||||
|
||||
Fixes compile with disabled gui module.
|
||||
|
||||
Task-number: QTBUG-64597
|
||||
Change-Id: I376dede3db987e524f97070344cc119e0ee1d187
|
||||
|
||||
Upstream: https://codereview.qt-project.org/211810
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
examples/bluetooth/heartrate-server/heartrate-server.pro | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/bluetooth/heartrate-server/heartrate-server.pro b/examples/bluetooth/heartrate-server/heartrate-server.pro
|
||||
index 4ccf486c..edd011b9 100644
|
||||
--- a/examples/bluetooth/heartrate-server/heartrate-server.pro
|
||||
+++ b/examples/bluetooth/heartrate-server/heartrate-server.pro
|
||||
@@ -1,7 +1,7 @@
|
||||
TEMPLATE = app
|
||||
TARGET = heartrate-server
|
||||
|
||||
-QT += bluetooth
|
||||
+QT = core bluetooth
|
||||
CONFIG += c++11
|
||||
|
||||
SOURCES += main.cpp
|
||||
--
|
||||
2.14.2
|
||||
|
Loading…
Reference in New Issue
Block a user