QML Image: Unable to open



  • Hi all,

    In one of my past thread i was asking about how i can list applications in Nokia N9 i was successfully able to do that and i was also able to get the icons for the applications.

    But now when i assign the image path to Image Component source property, that gives me error

    QML Image: Cannot open: file:///usr/share/icons/hicolor/80x80/apps/callrecorder.png

    but if i directly try to test the image like:

    Code:
    @
    Image{
    source:"/usr/share/icons/hicolor/80x80/apps/callrecorder.png"
    }
    @
    This works without any problem. why image is adding file:/// to my path ??

    can anybody tell me what wrong i am doing here ??

    [Edit: Wrapped code in @ tags; mlong]


  • Moderators

    Can you show an example of how you're assigning the image path to the Image Component source property?


Log in to reply
 

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