summaryrefslogtreecommitdiffstats
path: root/src/activeqt/control/qaxfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/activeqt/control/qaxfactory.h')
-rw-r--r--src/activeqt/control/qaxfactory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/activeqt/control/qaxfactory.h b/src/activeqt/control/qaxfactory.h
index 533ffc5..ac7a9e9 100644
--- a/src/activeqt/control/qaxfactory.h
+++ b/src/activeqt/control/qaxfactory.h
@@ -51,6 +51,8 @@ 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;
@@ -288,6 +290,7 @@ public:
} \
QT_END_NAMESPACE
+QT_WARNING_POP
QT_END_NAMESPACE
#ifndef Q_COM_METATYPE_DECLARED