Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.15.0 Beta3
-
None
-
Built using Emscripten 1.39.10 running on Docker (using https://github.com/forderud/QtWasm/blob/master/image/Dockerfile ).
Tested in Firefox 75 (64bit) and Chrome 80 (64bit) on Windows 10.
Description
I'm experiencing problems with created QOffscreenSurface objects being invalid when building my Qt application for WASM.
How to reproduce
The problem can be reproduced by adding assert(m_offscreenSurface->isValid()) checks to the quick/rendercontrol sample project as shown in https://codereview.qt-project.org/c/qt/qtdeclarative/+/296531. The following assertion then fail when running in debug mode:
Application exit (RuntimeError: abort(Assertion failed: m_offscreenSurface->isValid(), at: ../source/window_singlethreaded.cpp,117,WindowSingleThreaded).
Attachments
For Gerrit Dashboard: QTBUG-83380 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
296531,2 | WIP: Add validity checks when creating QOffscreenSurface | 5.15 | qt/qtdeclarative | Status: NEW | -2 | 0 |