Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2
-
dfc16e40ab (qt/qtdeclarative/dev) dfc16e40ab (qt/tqtc-qtdeclarative/dev) 17c8cf1f1b (qt/qtdeclarative/6.2) 24341c93d9 (qt/qtdeclarative/6.3) 17c8cf1f1b (qt/qtdeclarative/6.2.4) 17c8cf1f1b (qt/tqtc-qtdeclarative/6.2)
Description
Since relative URL is no longer resolved statically, icon.source of controls won't be
resolved relative to user code, but to internal IconLabel.
Window { Image { source: "a.png" } // loads ./a.png Button { icon.source: "a.png" } // loads qrc:/qt-project.org/imports/QtQuick/Controls/Fusion/a.png }
Attachments
Issue Links
- duplicates
-
QTBUG-92166 Relative path in a separate module stored in a variable works not as expected in qrc environment
- Closed
- relates to
-
QTBUG-92166 Relative path in a separate module stored in a variable works not as expected in qrc environment
- Closed
-
QTBUG-88965 QML property with 'url' type resolves incorrectly
- Closed
-
QDS-4983 Relative image source is wrong with qt6 kit
- Closed
-
QTBUG-96985 Video and MediaPlayer don't allow to use relative URLs
- Closed
- resulted in
-
QTBUG-97850 Unexpected scope for Url resolvement
- Reported