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

QOpenGLWidget not working with different context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.4.0
    • GUI: OpenGL
    • None

    Description

      Hi,

      Problem is that, when I'm trying to move from QOpenGLWidget context inside class to extern QOpenGLContext is that whole screen is black. FPS counter and things like 3D coordinates working, so scene is working, problem is that rendered things are not drawed into widget.

      Why Im moving to external? Problem was shared context wasnt working even with application attribute. QOpenGLShaderProgram said its not binded to correct context.

      Code via pastebin.. Just one link, block of code from different classes: http://pastebin.com/Zha3QmKJ
      Screen: http://i.imgur.com/xjjtfcY.png

      Tried get help on IRC and forum, but seems no one knows where could be issue...

      Thanks.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            glararan Lukáš Veteška
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes