[SailfishDevel] Loading installed images
Andrey Kozhevnikov
coderusinbox at gmail.com
Wed Nov 6 12:38:48 UTC 2013
deploy as rpm package.
binary deploying suitable if you dont know anything what to do :D
On 06.11.2013 18:35, Mark Johnson wrote:
> I'm working on a graphics editing project where the user can perform
> some rudimentary drawing and having a problem when trying to load in
> sample images that are included with the install.
>
> In the project file structure I've got a folder called "samples" which
> has some png images.
>
> In the yaml file I've defined under the "Files" section:
> /usr/share/imagewiz/samples/*.png
>
> And in the code I've tried:
> QPixmap sample1 = new
> QPixmap("/opt/sdk/imagewiz/usr/samples/sample1.png");
>
> Anyone got any smart ideas what I'm doing wrong?
>
> Thanks,
> Mark
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131106/16180645/attachment.html>
More information about the Devel
mailing list