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

Built-in Qt Quick qrc image loader

    XMLWordPrintable

Details

    Description

      There're still no simple way to load images from qrc with QML. The easiest is embedding qml into qrc and load images from qrc natively.
      But I don't want to embed qml to qrc because of the big disadvantages of that approach (must recompile too often). Yet I want to use images from qrc, to forget about the url/path of the images.
      Using an ImageProvider, I can achieve that. But it would be very nice if Qt supports a built-in image provider for importing qrc images with ease, without the need for embedding qml into qrc.

      Attachments

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

        Activity

          People

            bodson Yann Bodson (Inactive)
            phaikawl Hai Phaikawl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes