diff options
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/doc/src/qt6-changes.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/qt6-changes.qdoc b/src/qml/doc/src/qt6-changes.qdoc index 087c500ab2..70c61849e7 100644 --- a/src/qml/doc/src/qt6-changes.qdoc +++ b/src/qml/doc/src/qt6-changes.qdoc @@ -49,9 +49,9 @@ assigned to an url property. In Qt 6 this is no longer the case. If you had a QML file stored under "/home/qml/example.qml", and "example.qml" contained - \begincode + \code property url imageFolder: "./images" - \oldcode + \endcode then the url property would store the URL "/home/qml/images". This made it impossible to use relative URLs in QML in this way, so in Qt 6, the URL stays relative, and only gets resolved when this is required (e.g. when it is used as the source of an Image component). |