I'm a C++ programmer. Write cross-platform desktop GUI application, mostly using Qt and Qt Quick. I want to write a small mobile app for Android.
You can try to do as recommended in the official documentation: in Android Studio, in the language of Kotlin.
And it seems like there is the ability in C++ and even using Qt.
The Advantages Of Kotlin:
- it is the native language for Android - all the features of the platform should be easily accessible
- the application is written in Kotlin like must be available on all Android devices without recompiling
The Advantages Of Qt/C++:
- It is necessary to study to waste time on it.
- The first time I will write inefficiently, constantly stepping on a rake and looking for answers on the forums and in the documentation.
- I know well this language and this library, can write quick and efficient code sozdavat.
- Cross - platform- if I ever want to support another platform, such as Apple, it does not need to rewrite the entire application.
- Maybe not all the features of the Android platform available from C++. Well, or maybe many opportunities available how a complex and inconvenient way.
- The worst cross-platform: Android devices can operate on different processors. They will require a recompile of the application.
- Perhaps the worst situation a difficult to seek answers to questions when problems arise.
I may not know about some of the other significant advantages and disadvantages of these languages, which can influence the choice.
Prompt please that it is better to choose?
Addendum: forgot about the licensing of Qt. On the desktop you can make a private application that uses Qt without buying a paid license to LGPL. It's enough to use Qt in a dynamically linkwise libraries. Is it possible on Android? Or is it necessary to buy a commercial license?