Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
May I compile for Android with standart 5.8 Linux version?
I installed standart Qt 5.8 for Linux. Now I want to test on Android too! May I use same Qt with some additition libraries or should I uninstall and install Qt 5.8 Android version?!...
And, Can I compile desktop applications with Qt for Android too?! If yes I think it's better to uninstall Qt 5.8 for linux and install Qt 5.8 Android to create applications for both Android and Linux...
No you can't, "Qt for Android" is exactly that, Qt build to run on Android platform. You need to install additional Qt version for the platform you want to target.
The most simple for that is to use the online installer. It allows to easily add/update/remove Qt versions.
First of all thanks for your interest. I followed your way and reinstall with Qt Online installer. And now I have Qt 5.8 Android too.
But I do not see Android item on the left listbox on Option window. I think I need to install NDK and SDK too. I checked the internet little bit but all information and videos for the older versions! I do not want to make a mistake!
Please could you suggest me never (I mean Qt 5.8 and Debian 8) and offical information?...
I already checked this page,
But I guess it is deprecated now. Because when I run
./android update sdk
The message comes;
mucip@debian-ev:~/Android/Sdk/tools$ ./android update sdk
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
"android" SDK commands can be translated to sdkmanager commands on a best-effort basis.
Continue? (This prompt can be suppressed with the --use-sdk-wrapper command-line argument
or by setting the USE_SDK_WRAPPER environment variable) [y/N]:
Or am I wrong?...
Seems you are right
At least the cmdline has changed.
./android update sdk
seems to have become
and so on.
seems also possible directly in Studio.
I installed 5.9 Beta too and I can test the Android in Qt right now!
I do not know why but I think new SDK is only works with Qt 5.9?!...
Or may be I am wrong but the situation is like this now. Qt 5.9 should be installed also...