summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/themes/genericunix/dbustray/qdbustraytypes_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platformsupport/themes/genericunix/dbustray/qdbustraytypes_p.h')
-rw-r--r--src/platformsupport/themes/genericunix/dbustray/qdbustraytypes_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/platformsupport/themes/genericunix/dbustray/qdbustraytypes_p.h b/src/platformsupport/themes/genericunix/dbustray/qdbustraytypes_p.h
index 1bdc855c3c..3f75555579 100644
--- a/src/platformsupport/themes/genericunix/dbustray/qdbustraytypes_p.h
+++ b/src/platformsupport/themes/genericunix/dbustray/qdbustraytypes_p.h
@@ -52,7 +52,9 @@
// We mean it.
//
-#ifndef QT_NO_SYSTEMTRAYICON
+#include <QtGui/private/qtguiglobal_p.h>
+
+QT_REQUIRE_CONFIG(systemtrayicon);
#include <QObject>
#include <QString>
@@ -104,5 +106,4 @@ Q_DECLARE_METATYPE(QXdgDBusImageStruct)
Q_DECLARE_METATYPE(QXdgDBusImageVector)
Q_DECLARE_METATYPE(QXdgDBusToolTipStruct)
-#endif // QT_NO_SYSTEMTRAYICON
#endif // QDBUSTRAYTYPES_P_H