poetaster | ditto, lbt. | 08:30 |
---|---|---|
merlin1991 | in case someone happens to see my original question about recovery images in the logs, I asked on the zendesk and jolla provided me the one I need :) | 09:43 |
Ingvix | huh, gallery can't play gif animations | 11:02 |
Ingvix | any ideas why my an image fails to load in a qml app? It's shown in the project files and listed in the .pro file | 15:21 |
Ingvix | s/my // | 15:21 |
Ingvix | just a regular png file | 15:24 |
poetaster | attah: cool! | 15:42 |
poetaster | Ingvix: how do you load it? source: "../cover/imageworks.svg" style, relative to qml file in Image or user a qrc style resource? | 15:44 |
Ingvix | poetaster, "images/header.png" | 15:44 |
Ingvix | so relative | 15:44 |
Ingvix | hmm, it needs to be relative to the page that loads it and not the project root? | 15:45 |
poetaster | Yes. It's relative within the top scope of the directory (usually qml) that contains the qml files. | 15:46 |
poetaster | qml/cover/image.png qml/cover/CoverPage.qml contains "image.png" as source: | 15:47 |
poetaster | source: Qt.resolvedUrl("../tidings.png") and other varianst exist (for instance if you have an image directory at the same level as qml or if you want to use a system icon file. | 15:47 |
poetaster | resolveUrl is with qml top directory. | 15:49 |
Ingvix | ah, now it works | 15:56 |
Ingvix | the path was wrong and also qmllive bench doesn't seem too keen on updating anything else than qml files | 15:57 |
piggz | hnj: poetaster: testing: is built for 4.3 volla .. wanna try it out? | 18:08 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!