summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qtdeprecationmarkers.h
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-09-26 14:53:55 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2022-09-27 13:12:11 +0200
commit12ea707a8962f26a8cbfea5d12f25a5241b3f567 (patch)
tree95a510fd1b6e6a72366af5426023cba879560507 /src/corelib/global/qtdeprecationmarkers.h
parente08f05ac6e785c39ac257ee67b03572e3194bc0e (diff)
qtdeprecationmarkers.h: include qcompilerdetection.h
Without it, we do not have Q_DECL_DEPRECATED Change-Id: I6b16176446027e0f7da923f16971e903aacc80d4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qtdeprecationmarkers.h')
-rw-r--r--src/corelib/global/qtdeprecationmarkers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qtdeprecationmarkers.h b/src/corelib/global/qtdeprecationmarkers.h
index ee0ec92589..e87c860400 100644
--- a/src/corelib/global/qtdeprecationmarkers.h
+++ b/src/corelib/global/qtdeprecationmarkers.h
@@ -6,6 +6,7 @@
#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtversionchecks.h>
+#include <QtCore/qcompilerdetection.h> // for Q_DECL_DEPRECATED
#if 0
#pragma qt_class(QtDeprecationMarkers)