Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED] Android directory clearing after new build...



  • I use Qt5.2 + QtCreator3.0, and when I build my project, "android-build" directory clearing every time... So, I can't modify the generated Java-code. May be, I need to make some settings for QtCreator?



  • What you need is to put your java code (with everything else that need to go inside "android-build") into a directory and specify into the .pro:

    ANDROID_PACKAGE_SOURCE_DIR = $$PWD/Android_Source


Log in to reply