Unsolved INSTALLS ignores /res folder
Regarding my previous post, I found out that I can use
ANDROID_PACKAGE_SOURCE_DIR. But for some reason it ignores
My project has 2 android related folders.
At first it was all one folder that was included in the build with
ANDROID_PACKAGE_SOURCE_DIR, but that's not the best solution, since some files, depending on the build, shouldn't be included.
So I put the optional files inside
If I use the
ANDROID_PACKAGE_SOURCE_DIRfor the mandatory
INSTALLSfor the optional
/andorid_extrait doesn't include the
If however I use
ANDROID_PACKAGE_SOURCE_DIRit doesn't include the
android/resfiles, but the
/android_extra/srcwill be included...
I don't know what else to try, mainly I'm just looking at how the build system is making fun of me...
Any solution to this, or how to force it to include files?
EDIT: It seems as it can't copy files to
/resin the build folder. If I put the INSTALLS
/res2it will make the folder and copy the files. So I assume it's the same case for
androiddeployqtis at fault here. The files are copied, but once the
androiddeployqtis started, it cleares the folders...
You can check on https://bugreports.qt.io/ if it is a known bug.
You can also a new file bug report when it is not already listed there. This user forum is never checked for possible reports of bugs.
When you find or file a bug report, please file the link here to give aothers a chance to add and to monitor the issue.
I opened a ticket. Can only hope it gets resolved soon, or for an existing workaround
OK, thanks for taking the time. Let's see what happens.
For now I made a custom
cleanAndroidFiles(options);which deletes the files. Seems to work, only have to delete the build folder manually so it doesn't keep old build files.