summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb
diff options
context:
space:
mode:
authorMatthew Cattell <matthew.cattell@nokia.com>2011-08-09 18:01:49 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-08-09 18:05:34 +0200
commit2ac6eb142e4ee73309854ebf02b1dbac7a5b654b (patch)
treec937af99c8e6d56458bb968841bb748320ef9d8a /src/plugins/platforms/xcb
parentd9a95fb6a0c793c5e1ea6902dee8da1f77bb83a8 (diff)
build without dbus
Change-Id: I5af35ff094bea08c83f0e65e72efa59adac2581c Reviewed-on: http://codereview.qt.nokia.com/2790 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xcb')
-rw-r--r--src/plugins/platforms/xcb/xcb.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro
index 4b242428fe..ff0ad6d152 100644
--- a/src/plugins/platforms/xcb/xcb.pro
+++ b/src/plugins/platforms/xcb/xcb.pro
@@ -84,8 +84,10 @@ QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_XCB
CONFIG += qpa/genericunixfontdatabase
+contains(QT_CONFIG, dbus) {
QT += dbus
LIBS += -ldbus-1
+}
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target