Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.0, 5.9.1, 5.9.2, 5.9.3, 5.10.0
-
None
-
MinGW-builds i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z, x86_64-7.2.0-release-posix-seh-rt_v5_rev0
Description
Compiling qtactiveqt with newer MinGW gcc results in a compiler error:
In file included from c:\Users\qt\work\install\include/QtCore/qobject.h:46:0, from c:\Users\qt\work\install\include/QtCore/qfactoryinterface.h:43, from control\qaxfactory.h:56: c:\Users\qt\work\install\include/QtCore/qobjectdefs.h:179:32: error: 'virtual const QMetaObject* QObject::metaObject() const' was hidden [-Werror=overloaded-virtual] virtual const QMetaObject *metaObject() const; \ ^ c:\Users\qt\work\install\include/QtCore/qobject.h:118:5: note: in expansion of macro 'Q_OBJECT' Q_OBJECT ^~~~~~~~
This is although the compiler warning "overloaded-virtual" should be disabled via a
#pragma GCC diagnostic ignored "-Woverloaded-virtual"
that was added in https://codereview.qt-project.org/#/c/110824/4/src/activeqt/control/qaxfactory.h . This smells like a compiler issue...
Attachments
Issue Links
- is required for
-
QTQAINFRA-1289 Build Qt with MinGW 7.3.0 in CI
- Closed