qtdeclarative/tests/auto/core
Richard Moe Gustavsen 9edd4becff QQmlStandardPath: always use QUrl::fromLocalFile
It turns out that the changes done in 4e38a6a194
was too hasted. QStandardPaths are supposed to always
return local file paths, so converting them to URLs
using QUrl::fromLocalFile() was semantically correct.

The fact that the "local" file path on iOS was prefixed
with a scheme was not relevant - it should just be seen as
a part of the local file name. The iOS plugin that uses the
path even expects the URL to start with
"file:" ("file:assets-library://").

This patch will therefore partially revert
4e38a6a194, but keep the auto tests.
It turns out that it's the iOS plugin that loads the
image that needs to be fixed.

Pick-to: 6.5
Change-Id: I1daaec7596bdbb8da5aec65c48bfd048f0c82d9d
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-04-03 09:31:10 +02:00
..
qqmlsettings Retire the qt_parse_all_arguments 2023-01-20 16:40:42 +01:00
qqmlstandardpaths QQmlStandardPath: always use QUrl::fromLocalFile 2023-04-03 09:31:10 +02:00
qqmlsysteminformation Retire the qt_parse_all_arguments 2023-01-20 16:40:42 +01:00
CMakeLists.txt Move Settings out of Qt.labs module 2022-09-29 21:31:17 +08:00