Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.2.12, 6.5.5, 6.5.5-1, 6.6.3, 6.7.2, 6.8
-
-
38279dea5 (dev), e81a2d03d (6.8)
Description
Application running with eglfs or vkkhrdisplay QPA does not create pipeline cache file when stopped. Only when running app with window manager (x11, wayland) and terminating it via window manager "X" button from application window will cause pipeline cache file to be created. Documentation does not state that pipeline cache would not be supported with those QPA platforms. So the "automatic" (https://doc.qt.io/qt-6/qquickgraphicsconfiguration.html#the-automatic-pipeline-cache) pipeline cache feature is missing.
Currently in order get pipeline cache created when application exits/terminates one needs to manually call:
window->hide();
window->releaseResources();
And connect to QQuickWindow::sceneGraphAboutToStop signal in which application needs to exit using QCoreApplication::exit() function.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-126608 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
596177,12 | sg: Make it possible to write out the pipeline cache not just on exit | dev | qt/qtdeclarative | Status: NEW | 0 | +1 |