QMAKE_BUNDLE_DATA setup question



  • I have a bunch of resource files (ie, image files, data files) I want to include in my iOS bundle. I tried this and am getting errors:

    @iosPackets.files = *.gly
    iosPackets.path = ../../toon/assets/packets
    iosTextures.files = *.tga
    iosTextures.path = ../../toon/assets/textures
    QMAKE_BUNDLE_DATA += iosPackets iosTextures@

    The assets actually reside at this path...

    @/Users/<user>/toon/assets/packets
    /Users/<user>/toon/assets/textures@

    I want to test a direct path to these assets first. Later I want to have a system variable that can tell my project where the assets live. But one step at a time. What am I doing wrong here?


Log in to reply
 

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