(Qt6 + Android + cmake) android folder is never copied to the build directory for the correct AndroidManifest
-
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.