summaryrefslogtreecommitdiff
path: root/src/window-lib/windowmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-lib/windowmanager.h')
-rw-r--r--src/window-lib/windowmanager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window-lib/windowmanager.h b/src/window-lib/windowmanager.h
index 678ac700..6755d3c2 100644
--- a/src/window-lib/windowmanager.h
+++ b/src/window-lib/windowmanager.h
@@ -9,6 +9,11 @@
#include <QtCore/QAbstractListModel>
#include <QtAppManCommon/global.h>
+#if defined(Q_MOC_RUN) && !defined(__attribute__) && !defined(__declspec)
+# define QT_PREPEND_NAMESPACE_AM(name) QtAM::name
+# error "This pre-processor scope is for qdbuscpp2xml only, but it seems something else triggered it"
+#endif
+
#if defined(AM_MULTI_PROCESS)
QT_FORWARD_DECLARE_CLASS(QWaylandSurface)
#endif