Browse Source

Merge pull request #8979 from sledgehammer999/comp_dbus

Fix compilation without D-Bus support
adaptive-webui-19844
sledgehammer999 7 years ago committed by GitHub
parent
commit
8a976d40be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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