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
For Gerrit Dashboard: QTBUG-95587 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
368712,12 | QQuickIcon: Resolve URL relative to current element | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
368760,2 | WIP: Resolve shader URLs relative to binding context | dev | qt/qtquick3d | Status: ABANDONED | -2 | 0 |
369239,1 | WIP: Add QML flag for URL resolution in QML engine to QUrlPrivate | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |
369241,4 | QML engine: Resolve URLs on property assignment when given an env var | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
369272,4 | Resolve resource URLs relative to binding context | dev | qt/qtdeclarative | Status: DEFERRED | 0 | 0 |
369692,3 | WIP: Resolve urls against stored private context url | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
369987,9 | Add "@" instruction as shortcut for Qt.resolvedUrl() | dev | qt/qtdeclarative | Status: DEFERRED | +1 | 0 |
369994,4 | Provide more options for handling URLs in the "Qt" object | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
369997,1 | WIP: Implement the "@" instruction | dev | qt/tqtc-qmlcachegenplus | Status: DEFERRED | -2 | 0 |
370057,2 | Document chnaged behavior of url properties | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
370172,2 | Document chnaged behavior of url properties | 6.2.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
370173,2 | Document chnaged behavior of url properties | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
370731,3 | Provide more options for handling URLs in the "Qt" object | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
371411,1 | Update QML visitor to recognize '@' | dev | qt/qttools | Status: DEFERRED | +2 | 0 |
371962,2 | QQuickIcon: Resolve URL relative to current element | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
375339,3 | QML engine: Resolve URLs on property assignment when given an env var | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
395895,3 | QQuickIcon: Resolve source URL relative to outermost property owner | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
395896,3 | QQuickIcon: Undo bool to tagged pointer conversion | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
396676,2 | QQuickIcon: Resolve source URL relative to outermost property owner | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
396677,2 | QQuickIcon: Resolve source URL relative to outermost property owner | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |