kumquat-buildroot/package/qt/0006-script-qtdbus-no-gui.patch
Thomas Petazzoni 35bc55eaaa qt: don't download patch from Github
Patches downloaded from Github are not stable, so bring them in the
tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-07-03 00:05:18 +02:00

23 lines
679 B
Diff

[PATCH] fix build with script+dbus enabled, but no gui
The script/qtdbus plugin doesn't need gui support, so don't try to
link it against libQtGui.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
src/plugins/script/qtdbus/qtdbus.pro | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: qt-4.7.3/src/plugins/script/qtdbus/qtdbus.pro
===================================================================
--- qt-4.7.3.orig/src/plugins/script/qtdbus/qtdbus.pro
+++ qt-4.7.3/src/plugins/script/qtdbus/qtdbus.pro
@@ -1,6 +1,6 @@
TARGET = qtscriptdbus
include(../../qpluginbase.pri)
-QT = core gui script
+QT = core script
CONFIG += qdbus
SOURCES += main.cpp