Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Files directly on Resources on iOS



  • Hi,

    On iOS platform, I can't put files on Resources folder.

    When I add files on "RESOURCES" of PRO file with following code

    ios {
        RESOURCES += file1.txt \
            file2.txt \
            file3.txt
    }
    

    a file "qmake_qmake_immediate.qrc" is created on "Resources" folder of Xcode project created ("myproject.xcodeproj").

    0_1566978622784_Screenshot 2019-08-28 at 09.47.11.png

    <!DOCTYPE RCC><RCC version="1.0">
    <qresource prefix="/">
    <file alias="file1.txt">/Users/user/Documents/dev/file1.txt</file>
    <file alias="file2.txt">/Users/user/Documents/dev/file2.txt</file>
    <file alias="file3.txt">/Users/user/Documents/dev/file3.txt</file>
    </qresource>
    </RCC>
    

    I need to put files directly on "Resources" folder.

    How can I do that on Qt?

    Best regards.


Log in to reply