From f5a106e22abd4142c95687f440c99befda4f4d45 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 16 May 2011 14:27:24 +0200 Subject: [PATCH] qt: fix build when script+dbus are enabled, but gui isn't Signed-off-by: Peter Korsgaard --- .../qt/qt-4.7.3-script-qtdbus-no-gui.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/qt/qt-4.7.3-script-qtdbus-no-gui.patch 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 0000000000..e29e9e4a1b --- /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 +--- + 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 -- 2.30.2