Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.9
-
None
-
Ubuntu Touch on arm64 and armhf devices
-
-
46e6a9a759ae89f905107ccad191ca5ddf442e53 (qt/qtbase/dev) 2fc4a1b53042b69bdb745e2e69c861eecf945b3c (qt/qtbase/6.1) 9a156b4e84867f89f2e9082a883276a1a165e063 (qt/qtbase/6.2)
Description
Currently the Ubuntu Touch OS is very restrictive about what paths can be accesed by each application.
src/gui/opengl/qopenglprogrambinarycache.cpp tries to write to the general cache folder on the users home dir level, but that is blocked: https://github.com/qt/qtbase/blob/823ed71e220ebde07970dd61c04bb47b01dd06c4/src/gui/opengl/qopenglprogrambinarycache.cpp#L416-L423 fails. QStandardPaths::GenericCacheLocation is write-protected unless an exemption is made for an app or for all apps.
We are instead offering the applications to write to QStandardPaths::CacheLocation but this is not used by the shader cache code. And we believe this is a bug actually.