summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2015-02-13 16:15:59 +0200
committerAlex Trotsenko <alex1973tr@gmail.com>2015-02-13 20:52:04 +0000
commit9f3bd7542c30c8940b2ef57b523a111d4b847bde (patch)
tree890daafc5692d531d91f6e7c8c2064cbfe1edac0 /src/plugins/platforms/xcb/qxcbnativeinterface.cpp
parente300efe6eead71d89aeff4df135d54205a1f1b1a (diff)
Fix xcb plugin compilation without D-Bus
Change-Id: I84afaa5668ac0f2c3954af50d123cfe469cbf255 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbnativeinterface.cpp')
-rw-r--r--src/plugins/platforms/xcb/qxcbnativeinterface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.cpp b/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
index 14f5cd0747..95db0c56c1 100644
--- a/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
+++ b/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
@@ -47,7 +47,10 @@
#include <QtGui/qscreen.h>
#include <QtPlatformHeaders/qxcbwindowfunctions.h>
+
+#ifndef QT_NO_DBUS
#include "QtPlatformSupport/private/qdbusmenuconnection_p.h"
+#endif
#ifdef XCB_USE_XLIB
# include <X11/Xlib.h>