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