Details
Description
When setting the parent of QQmlApplicationEngine to the QGuiApplication instance, the application crashes on closing, if a WebEngineView is used in qml.
This issue can be reproduced by modifying the "quicknanobrowser" example (see attached "quicknanobrowser.diff" file).
Steps to reproduce:
- Modify the main.cpp as shown in the diff file.
- Build and run the application.
- Close the application.
- Crash occurs on destroying the QQuickWebEngineView.
See also the attached stacktrace.
Attachments
For Gerrit Dashboard: QTBUG-74116 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
254626,4 | Fix destruction of qt quick profile after WebEngineContext gets deleted | 5.12 | qt/qtwebengine | Status: MERGED | +2 | 0 |