Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17296

Creator crashes because it did not call QtWebEngine::initialize()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.2.0
    • Qt Creator 4.2.0-rc1
    • Help System
    • Ubuntu 16.10 LTS 64 bit
      Windows 10 64 bit

    Description

      1. Build Creator on Qt 5.7.1 containing WebEngine.
      2. Start this Creator.
      3. Try to go to Help mode.
        Creator crashes because of QTBUG-42296. On the command line you can read:
        Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication.
        WebEngineContext used before QtWebEngine::initialize()
        [1117/164252:INFO:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
        QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function.
        Abgebrochen
        

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes