e29e9e4a1b73f885eda901ab157c720e9ad4bcc0
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / qt / 0005-script-qtdbus-no-gui.patch
1 [PATCH] fix build with script+dbus enabled, but no gui
2
3 The script/qtdbus plugin doesn't need gui support, so don't try to
4 link it against libQtGui.
5
6 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
7 ---
8  src/plugins/script/qtdbus/qtdbus.pro |    2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 Index: qt-4.7.3/src/plugins/script/qtdbus/qtdbus.pro
12 ===================================================================
13 --- qt-4.7.3.orig/src/plugins/script/qtdbus/qtdbus.pro
14 +++ qt-4.7.3/src/plugins/script/qtdbus/qtdbus.pro
15 @@ -1,6 +1,6 @@
16  TARGET  = qtscriptdbus
17  include(../../qpluginbase.pri)
18 -QT = core gui script
19 +QT = core script
20  CONFIG += qdbus
21  
22  SOURCES += main.cpp