Provide a QML API to use with images in qrc files
Bug #1550706 reported by
Simon Stürz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Client Developer Experience |
Confirmed
|
Wishlist
|
Zoltan Balogh | ||
thumbnailer (Ubuntu) |
Opinion
|
Wishlist
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
Wishlist
|
Zsombor Egri |
Bug Description
The thumbnailer works only if I load images from the file system, not from a resource file:
Image {
id: backgroundImage
sourceSize: Qt.size(
source: "image:
}
The default sdk template uses qrc as template.
Changed in thumbnailer (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in thumbnailer (Ubuntu): | |
status: | New → Incomplete |
Changed in thumbnailer (Ubuntu): | |
status: | New → Opinion |
summary: |
- Thumbnails not working with qrc + Provide a QML API to use with images in qrc files |
Changed in canonical-developer-experience: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
If you want a thumbnail for an image, you have to give an image: url to qml.
See https:/ /developer. ubuntu. com/en/ apps/qml/ tutorials/ use-ubuntu- thumbnailer/