Description
COmpilation fails with latest 6.0.0 against qtbase:
C:\dev\qt\dev\src\qt3d\src\input\frontend\qmouseevent.cpp(263): error C2248: 'QMouseEvent::QMouseEvent': cannot access protected member declared in class 'QMouseEvent' C:\dev\qt\dev\cmake-msvc-2019-amd64-docs\qtbase\include\QtGui\../../../../src/qtbase/src/gui/kernel/qevent.h(231): note: see declaration of 'QMouseEvent::QMouseEvent' C:\dev\qt\dev\cmake-msvc-2019-amd64-docs\qtbase\include\QtGui\../../../../src/qtbase/src/gui/kernel/qwindow.h(75): note: see declaration of 'QMouseEvent' C:\dev\qt\dev\src\qt3d\src\input\frontend\qmouseevent.cpp(482): error C2248: 'QWheelEvent::QWheelEvent': cannot access protected member declared in class 'QWheelEvent' C:\dev\qt\dev\cmake-msvc-2019-amd64-docs\qtbase\include\QtGui\../../../../src/qtbase/src/gui/kernel/qevent.h(320): note: see declaration of 'QWheelEvent::QWheelEvent' C:\dev\qt\dev\cmake-msvc-2019-amd64-docs\qtbase\include\QtGui\../../../../src/qtbase/src/gui/kernel/qwindow.h(77): note: see declaration of 'QWheelEvent'
This seems to have been caused by commit https://codereview.qt-project.org/c/qt/qtbase/+/321431 in qtbase.