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

Failed to create OpenGL context when using QtQuickWidgets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.14.1
    • None
    • Win 10
    • Windows

      Hey,

      I have a large application based on Qt Widgets. I added my own class extending QDialog. That class creates QQuickWidget inside a dialog. Here is relevant code https://pastebin.com/2zxsFZRp

      This class is used as an error, warning, info popup, and sometimes it displays a popup saying "Failed to create OpenGL context ...". Take a look at the attachment. A dialog can be created and displayed several times in a row and then that message is displayed.

      The funny thing is that it is not easy to reproduce and happens only on chosen devices.

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            kosadev Łukasz Kosiński
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes