QML Image: Cannot open: qrc:/images/automatic_updates.png



  • I have written these lines of code in main.qrc

    Image {
       source: "images/automatic_updates.png"
    }
    

    This works on desktop but when I deploy the application on Android the following error occurs:

     QML Image: Cannot open: qrc:/images/automatic_updates.png
    

    What should I do to use this resource in android device. Please don't suggest me to use assets directory, I strongly prefer to apply the the Qt Resource System as it is a cross platform solution.
    Thanks for your helps


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.