Qt World Summit: Submit your Presentation


Assets on Android using CMakeLists



  • Hey,
    how can I convert this .pro definition:

    # Assets
    ASSETS_HELP_DATA.files = \
        $$files(resources/help_*.pdf)
    
    android {
        ASSETS_HELP_DATA.path = /assets/help
        INSTALLS += ASSETS_HELP_DATA
    }
    

    to CMakeLists.txt?


    this:

    install(FILES ${__assets} DESTINATION "/assets/help")
    

    doesn't work...

    @edit
    variable '__assets' contains valid values.


Log in to reply