Browse Source

Fix compilation without D-Bus support

Closes #8977
adaptive-webui-19844
sledgehammer999 7 years ago
parent
commit
80e93e23f9
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 5
      src/base/utils/misc.cpp

5
src/base/utils/misc.cpp

@ -50,6 +50,7 @@
#include <QDir> #include <QDir>
#include <QFileInfo> #include <QFileInfo>
#include <QProcess> #include <QProcess>
#include <QRegExp>
#include <QRegularExpression> #include <QRegularExpression>
#include <QSysInfo> #include <QSysInfo>
#include <QUrl> #include <QUrl>
@ -60,12 +61,12 @@
#include <QApplication> #include <QApplication>
#include <QDesktopServices> #include <QDesktopServices>
#include <QDesktopWidget> #include <QDesktopWidget>
#include <QProcess>
#include <QStyle> #include <QStyle>
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) && defined(QT_DBUS_LIB) #if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) && defined(QT_DBUS_LIB)
#include <QDBusInterface> #include <QDBusInterface>
#include <QDBusMessage> #include <QDBusMessage>
#include <QRegExp> #endif
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
#include "base/utils/version.h" #include "base/utils/version.h"
#endif #endif
#endif #endif

Loading…
Cancel
Save