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. (Qt6 + Android + cmake) android folder is never copied to the build directory for the correct AndroidManifest
Forum Updated to NodeBB v4.3 + New Features

(Qt6 + Android + cmake) android folder is never copied to the build directory for the correct AndroidManifest

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 331 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.
  • O Offline
    O Offline
    oodledev
    wrote on last edited by
    #1

    So... I have been circling at this for a while and maybe I messed up something on my cmake file but even after setting up the source dir package qt creator and/or qtandroiddeploy tool never picks up my custom android manifest file.

    What I have in my cmake

    if(ANDROID)
        set(ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/android/ CACHE INTERNAL "")
        message(STATUS "${ANDROID_PACKAGE_SOURCE_DIR}")
    endif()
    if(ANDROID)
    add_executable(app
        resources.qrc
        main_android.cpp
        android/AndroidManifest.xml
    )
    

    Whenever I run it it just doesn't pick up anything and it would just copy from the templates folder.

    I have removed, cleaned out the dirs, etc. multiple times.

    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