Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.0
-
None
-
8a3806f6263f56b5be5b557e321b9b13d1913d5f (qt/qtmultimedia/dev) b09502a9e27f312a92e35a799c50493a168e1696 (qt/qtmultimedia/6.2) 9d96fd9ee39ff51c15ca43399db5eadc471888c0 (qt/qtmultimedia/6.2.1) 08c51a63c3 (qt/qtmultimedia/6.2), d928939dc (dev)
Description
The QML Video and MediaPlayer do not allow to use relative URLs as follows:
source: "test.mp4"
The only way to make it work is by using either
source: Qt.resolvedUrl("test.mp4")
or
source: "file:///path/to/test.mp4"
The documentation doesn't mention anything about it and all the examples show relative URLs. The only place where an example actually shows an absolute path is VideoOutput.
I would strongly vote for making relative path work again.
Attachments
Issue Links
- relates to
-
QTBUG-95587 icon.source of Control is not resolved relative to user code
- Closed