[Android-development] What's the recommended way to update Android Templates

Stanislas RENAN qt-project at renan.org
Tue Nov 6 10:37:58 CET 2018


Hi,

It's a very good question. I'm also interested in a best pratice step by step description.
And it's not only about gradle and Manifest files, as QtActivity.java is also in the Qt directory, and that can lead to wrong things if you rely on the IDE to be smart for you.
I've been trying to look for a very partial answer about the latter, to configure correctly Android Studio : http://www.idees2l.renan.org/en/2018/05/04/organizing-your-java-files-in-a-c-qt-project/

I handle the template update problem manually the lazy way, with the "fix it when it breaks" method. Basically, it is not handled. It is nonetheless sufficient for now.

Best regards,
Stanislas RENAN 



Le 5 novembre 2018 21:13:11 GMT+01:00, ekke <ekke at ekkes-corner.org> a écrit :
>Creating Android Templatesit seems, they depend from QtC Version:
>
>per ex QtC 4.7.2 uses Gradle 3.2.0,
>
>QtC 4.7.1 uses Gradle 2.2.3 and some older projects I have are using
>Gradle 1.1.0
>
>I created Templates in Qt 5.12 with Creator 4.7.2 and they are also
>working in Qt.5.11.2 and Creator 4.7.1
>so it seems you can use the newest one on older Qt/QtC versions ?
>
>But HowTo deal with Template-Updates ?
>
>always using the newest one ?
>
>and what about the Android Manifest ? Create Templates and overwrite
>(to
>see what Qt has changed) and re-enter your changes ?
>
>didn’t found any documentation on this
>
>
>thx for any hints
>
>ekke
>
>_______________________________________________
>Android-development mailing list
>Android-development at qt-project.org
>http://lists.qt-project.org/mailman/listinfo/android-development

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20181106/96ef5fe7/attachment.html>


More information about the Android-development mailing list