- 
    Bug 
- 
    Resolution: Fixed
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    6.7
- 
    None
- 
    PySide6 6.7
 Windows 11 (PC) Python 3.11.6,
 Windows 10 (Laptop) Python 3.10.6
- 
        
- 
        7fac1a489 (118-based), f6a8ead99 (122-based), 81b06b831 (126-based)
Steps to reproduce:
- set QSG_RHI_BACKEND=gl
- Run C++ simple browser example
- Observe crash(es)
For Qt Designer, a crash occurs when dropping a QWebEngineView  onto the form 
since it forces GL ("Qt Designer: Enable the QWebEngineView, QQuickWidget plugins on Windows"  qttools/89fef3e0671d6ff270e9b400f0d8696a46994453 https://codereview.qt-project.org/c/qt/qttools/+/392687 ).
Original report (Qt for Python)
In PySide6 version 6.7, utilizing QWebEngineView with OpenGL rendering (os.environ['QSG_RHI_BACKEND'] = 'opengl') leads to an immediate program termination, exiting with error code 1. This issue does not occur in version (<=6.6.3).
Additionally, Qt Designer in PySide6 6.7 crashes when attempting to load UI files that contain the QWebEngineView component or when interacting with the component option of QWebEngineView within the designer.
I tried to reproduce the problem on WSL Ubuntu and it didn't happen.
Reproduce:
Here is the Python code snippet to reproduce the issue:
import os import sys from PySide6.QtWidgets import QApplication from PySide6.QtWebEngineWidgets import QWebEngineView if __name__ == '__main__': os.environ['QSG_RHI_BACKEND'] = 'opengl' app = QApplication() view = QWebEngineView() view.setUrl("https://www.youtube.com/") view.show() sys.exit(app.exec())
- is duplicated by
- 
                    QTBUG-125069 QWebEngine crash when using AA_UseDesktopOpenGL -         
- Closed
 
-         
- relates to
- 
                    QTBUG-100285 Windows: Qt Designer crash when selecting QWebEngineView -         
- Closed
 
-         
- 
                    QTBUG-122947 Crash in WebEngine with openGL -         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-124370 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 554822,1 | Revert "Qt Designer: Enable the QWebEngineView, QQuickWidget plugins on Windows" | dev | qt/qttools | Status: ABANDONED | 0 | 0 | 
| 554966,2 | Fix crash in WGL context creation | 118-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 | 
| 560809,4 | Fix crash in WGL context creation | 122-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |