Visualize a qrc reference to an image in Design mode



  • Hi, I search the whole forum in hope to find a solution for this problem but I couldn't find any topic about it...
    It's this possible? Because it's quite annoying not be able to see the images in Design mode to see how my project looks like without deploy/run the application. The only thing I see when I use a qrc reference in Design mode is a blue dot... So any help to solve this would be very, very, very welcome.

    Thanks.



  • I once added QMLDESIGNER_RC_PATHS.

    This is an enviroment variable you can set to redirect qrc paths to paths on the filesystem.

    qrc:something=/filesystem/something

    Generally I propose to use releative file paths and to have everything in one .qrc file.



  • Thank you for the reply.
    I will try to test it this week.


Log in to reply
 

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