[Solved]resources not loaded after deploy



  • hello friends
    after i deployed application, application worked fine but resources not load.
    in myapp.pro i have

    RESOURCES += \
        resources.qrc
    

    in qt.conf

    [Paths]
    Prefix=.
    plugins=plugins
    

    and some line of resources.qrc is

    <RCC>
        <qresource prefix="/files">
            <file>resources/1.jpg</file>
            <file>resources/2.jpg</file>
            <file>resources/3.jpg</file>
            <file>resources/4.jpg</file>
            <file>resources/5.jpg</file>
            <file>resources/6.jpg</file>
            <file>resources/add_file.png</file>
            <file>resources/add_file_b.png</file>
            <file>resources/add_folder.png</file>
            <file>resources/add65.png</file>
            <file>resources/add78.png</file>
            <file>resources/add118.png</file>
            <file>resources/add788.png</file>
    

    i would be grateful if you could help me
    thank you.



  • the problem solved.
    the problem is for missing some dlls. after copying below plugins inside deployed application folder , all resources load.

    audio
    bearer
    designer
    generic
    geoservices
    iconengines
    imageformats
    mediaservice
    platforms
    playlistformats
    position
    printsupport
    qml1tooling
    qmltooling
    qtwebengine
    sensorgestures
    sensors
    sqldrivers
    

    thank you all


Log in to reply
 

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