summaryrefslogtreecommitdiffstats
path: root/package/qt/qt-script-qtdbus-no-gui.patch
blob: e29e9e4a1b73f885eda901ab157c720e9ad4bcc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[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