Resources missing after macdeployqt

  • I have application which uses PNG files as resources stored in an QRC file.
    All of these images displayed correctly, but after I run macdeployqt (in order to distribute the application) and run the application again all of them disappear.
    After research I found that if I remove qt.conf from the application bundle, all the images displayed correctly again.
    The question is: what line should I add to the qt.conf to make the application find resources inside the application bundle?
    Here is current content of the qt.conf file:

    Plugins = PlugIns
    Imports = Resources/qml
    Qml2Imports = Resources/qml

Log in to reply

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