Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88757

qt3d: Compiliation error in qt3d\src\input\frontend\qmouseevent.cpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.0 RC
    • Fix Version/s: 6.0.0
    • Component/s: Qt3D
    • Labels:
      None
    • Platform/s:
      Windows

      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.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mkrus Mike Krus
            Reporter:
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes