Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.11.2
-
None
-
Ubuntu 18.04.1
Description
If qml source loaded from local file (not from resource) and contains Audio item
Audio { source: "sounds/my.mp3" }
then the 'source' property is resolved to "file://home/myUser/app/sounds/my.mp3" (2 slashes at the beginning) and item fails to find corresponding file (prints to debug console Error: "Resource not found.").
However, if I specify absolute path with the right scheme ("file:///home/myUser/app/sounds/my.mp3" - 3 (or 1) slashes at the beginning), the audio is loaded.