summaryrefslogtreecommitdiff
path: root/src/activeqt/control/qaxfactory.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-01-18 17:58:50 +0100
committerLiang Qi <liang.qi@qt.io>2018-01-18 21:19:44 +0100
commit50578d3893c611b3a33bbd8239a126f2b8f234b1 (patch)
tree16e344775d7b25f22b38c20c42d68e9d52817782 /src/activeqt/control/qaxfactory.h
parent851309bd2987b451354780e36112c02d5473482d (diff)
parent15c9ffc20f205e32b9297249be944bcbedd84fc7 (diff)
downloadqtactiveqt-5.10.tar.gz
Merge remote-tracking branch 'origin/5.9' into 5.105.10
Conflicts: .qmake.conf Change-Id: Ibeb74b560f39f3b6b48344873c87aba3a4af8a2c
Diffstat (limited to 'src/activeqt/control/qaxfactory.h')
-rw-r--r--src/activeqt/control/qaxfactory.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/activeqt/control/qaxfactory.h b/src/activeqt/control/qaxfactory.h
index 770aa02..e2c327b 100644
--- a/src/activeqt/control/qaxfactory.h
+++ b/src/activeqt/control/qaxfactory.h
@@ -51,6 +51,11 @@
#ifndef QAXFACTORY_H
#define QAXFACTORY_H
+#include <QtCore/qcompilerdetection.h>
+
+QT_WARNING_PUSH
+QT_WARNING_DISABLE_GCC("-Woverloaded-virtual") // gcc complains about QObject::metaObject() being hidden.
+
#include <QtCore/qhash.h>
#include <QtCore/quuid.h>
#include <QtCore/qfactoryinterface.h>
@@ -62,8 +67,6 @@ struct IUnknown;
struct IDispatch;
QT_BEGIN_NAMESPACE
-QT_WARNING_PUSH
-QT_WARNING_DISABLE_GCC("-Woverloaded-virtual") // gcc complains about QObject::metaObject() being hidden.
class QWidget;
class QSettings;
@@ -331,8 +334,8 @@ private:
} \
QT_END_NAMESPACE
-QT_WARNING_POP
QT_END_NAMESPACE
+QT_WARNING_POP
#ifndef Q_COM_METATYPE_DECLARED
#define Q_COM_METATYPE_DECLARED