Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89040

samegame: Issues with relative image paths

    XMLWordPrintable

    Details

    • Commits:
      9cd6e104582af28f60fdca991c89e63c21366f35 (qt/qtdoc/dev) 480cedef907f8fc3379826c25b1d7fd4676041ab (qt/qtdoc/6.0)

      Description

      Samegame example (qtdoc/examples/demos/samegame) in 6.0 has issues with some relative image paths:

      qrc:/demos/samegame/content/Button.qml:63:5: QML Image: Cannot open: qrc:/demos/samegame/content/content/gfx/but-quit.png
      

      (note the double "content/" in path).

      The affected paths are all attributes of Button.qml, imgStc, and can be fixed by removing the "content/" from the imgSrc attribute.

      Anyhow, for other image paths in the same file the "content/" must remain, so this looks like a bug ...

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There is 1 open Gerrit change