Thanks a lot !

Worked like a charm, once I realized that I had to use a url (qrc://...) with IconButton, but that was easy.
When I ceated a .qrc file, it was automatically added to the .pro file.
I could not edit it using the resource editor first, as the file was empty... but once populated from the example given in the (nokia :-) doc, all went fine.

Regards,
Franck



Le 04/10/2013 10:30, Volodymr Kuksynok a écrit :
10/4/13 11:27 AM, Franck Routier (perso) ???????(??):
Hi,

I am trying to create a simple application that displays a png file using QtQuick / Silica. I am using IconButton, but I can't get the png file to be deployed on the Sailfish virtual machine. I have added the file in the "other files" directory of the project, but I must be missing a step... I guess I should play with the sailfishapplication.pri file, or not :-), but I'm quite clueless on that (I'm a java kind of guy), and I expect a "standard way" of including such ressource...

Thanks for any tip or pointer,

Franck



_______________________________________________
SailfishOS.org Devel mailing list
Hello!
 You can use standart Qt reources mechanism
http://harmattan-dev.nokia.com/docs/library/html/qt4/resources.html

Attachment: smime.p7s
Description: Signature cryptographique S/MIME

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to