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

When QOpenGLWidget is set as a viewport in QGraphicsView, it does not receive render or mouse events.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.1
    • Fix Version/s: None
    • Component/s: Widgets: GraphicsView
    • Labels:
      None
    • Environment:
      Windows, x64, Visual Studio
    • Platform/s:
      Windows

      Description

      When QOpenGLWidget is in the setViewport call of QGraphicsView, it does not receive mouse event or render events. installEventFilter does not forward events to the QOpenGLWidget either.

       

      Attached solution demonstrates the issue.  

        Attachments

        1. glWidget.cpp
          5 kB
        2. glWidget.h
          1 kB
        3. main.cpp
          1.0 kB
        4. QtOpenGLAsView.sln
          1 kB
        5. QtOpenGLAsView.vcxproj
          5 kB
        6. QtOpenGLAsView.vcxproj.filters
          2 kB
        7. QtOpenGLAsView.vcxproj.user
          0.2 kB
        8. window.cpp
          1.0 kB
        9. window.h
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            bibr Andreas Aardal Hanssen
            Reporter:
            doug_rogers Doug Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes