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

Qt Linguist segmentaion fault with QWebEngineView on a form

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.2.2
    • Tools: Linguist
    • None
    • Linux/X11

    Description

      Qt Linguist crashes if form contains QWebEngineView.

      How to reproduce:

      • Take attached file ru.ts (or create your own from Form ui-file with QWebEngineView on a form).
      • Open it with linguist6
      • Select MainWindow context

      After these actions it crashes with following error messages:

      Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute and QSGRendererInterface::OpenGLRhi using QQuickWindow::setGraphicsApi before constructing QGuiApplication.
      WebEngineContext used before QtWebEngineCore::initialize() or OpenGL context creation failed.
      Segmentation fault (core dumped)

       

      Source files are attached.

       

      Attachments

        1. main_wnd.ui
          1 kB
        2. main.pro
          0.1 kB
        3. main.py
          0.4 kB
        4. ru.ts
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            starterkit Ivan Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes