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

Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.14.0 Beta 1
    • 5.12.4
    • WebEngine
    • None
    • b68a9df076a5f821b1a1b49207fad9ec9ac8a251

    Description

      QtWebEngine::initialize() expects to be called after a QApplication is created, and at the end it calls app->setAttribute(Qt::AA_ShareOpenGLContexts);: https://github.com/qt/qtwebengine/blob/5.12.4/src/core/api/qtwebenginecoreglobal.cpp#L130

      However, in Qt 5.12.4, a warning was added when doing that, which is now triggered by QtWebEngine: https://codereview.qt-project.org/c/qt/qtbase/+/247206

      Attachments

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

        Activity

          People

            michal Michal Klocek
            the compiler Florian Bruhin
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes