The thumbnailer itself would not really need to know about th qrc stuff.
Just the QQmlImageProvider part of the thumbnailer package. That could
extract the image data from the qrc and pass it on to the thumbnailer.

Here's some code snipped that should give directions on how to do that:
http://paste.ubuntu.com/15258195/

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to thumbnailer in Ubuntu.
https://bugs.launchpad.net/bugs/1550706

Title:
  Thumbnails not working with qrc

Status in Client Developer Experience:
  New
Status in thumbnailer package in Ubuntu:
  New

Bug description:
  The thumbnailer works only if I load images from the file system, not
  from a resource file:

      Image {
          id: backgroundImage
          anchors.fill: parent
          sourceSize: Qt.size(parent.width, parent.height)
          source: "image://thumbnailer/qrc:///images/menu-background.jpg"
      }

  The default sdk template uses qrc as template.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1550706/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to