Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Assets on Android using CMakeLists
Qt 6.11 is out! See what's new in the release blog

Assets on Android using CMakeLists

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 334 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Devoo
    wrote on last edited by Devoo
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved