summaryrefslogtreecommitdiff
path: root/package/qt
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-05-16 14:27:24 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-05-16 14:27:24 +0200
commitf5a106e22abd4142c95687f440c99befda4f4d45 (patch)
treec6a861110f9ba93e9a37c86e433b021fe61122d7 /package/qt
parentb1f31142536770df278bf195d545173810f248eb (diff)
qt: fix build when script+dbus are enabled, but gui isn't
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/qt')
-rw-r--r--package/qt/qt-4.7.3-script-qtdbus-no-gui.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/qt/qt-4.7.3-script-qtdbus-no-gui.patch b/package/qt/qt-4.7.3-script-qtdbus-no-gui.patch
new file mode 100644
index 000000000..e29e9e4a1
--- /dev/null
+++ b/package/qt/qt-4.7.3-script-qtdbus-no-gui.patch
@@ -0,0 +1,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