Qt 6.12 LTS is out! See what's new in the release
blog
Intermittent QSaveFile::commit() access denied on Windows 11
-
With Qt 6.11.2, a synthetic test occasionally fails when replacing an existing JSON companion file in a local temporary folder. QSaveFile::commit() returned false with Qt error 10 and Win32 error 5 observed immediately afterward. A later Restart Manager check found no file users. One path-filtered Process Monitor run did not reproduce the failure.
What is the smallest useful experiment to distinguish a handle opened by our own process, a sharing or permissions problem, and a filesystem filter? Is there a better way to capture the failing Windows operation and its original error?