Deploying on other platforms as well
-
No, just Qt for Android. Qt Creator is capable of handling several version of Qt in parallel without any problem.
-
Start the online installer, then add/remove and check the Android option.
-
Yes, sure thing, it's that one that I had in mind, sorry.
-
No it's fine. Actually it is me that I should say "sorry" for getting your time.
I went for it, but unfortunately it doesn't include a Qt for android version. :(
-
Did you use the offline installer at first ?
-
So your original installation comes from an online installer, correct ?
-
There's also an offline installer for the Android build.
-
@SGaist
Do you mean that I should download and install qt-opensource-windows-x86-android-5.7.0.exe? If so, should I install it over Qt Creator folder or what?@tomy QtCreator is not Qt - why should you install Qt over QtCreator?
Install it somewhere - you probably already have this folder c:\Qt with your old Qt version, install the Android version there in a subfolder.
QtCreator can handle multiple Qt versions, so no need to uninstall your existing version. -
Just an fyi,
In Qt creator 4.2.1 based on qt5.8.0 the layout in the options section of Qt-Creator changed, the android path specifications are now under "Devices" for what ever reason.
Took me a moment to find them.
The docs still say
Tools > Options > Android
instead ofTools > Options > Devices >Android
-
Do you mean that I should download and install qt-opensource-windows-x86-android-5.7.0.exe?
Yes
If so, should I install it over Qt Creator folder or what?
Better to uninstall the previous one
Better to uninstall the previous one
Thanks, but I don't want to code only for Android platform. If possible I'm going to install it on a subfolder in
C:\Qt
.QtCreator is not Qt - why should you install Qt over QtCreator?
I said that because I just wanted to have only an IDE for both.
Install it somewhere - you probably already have this folder c:\Qt with your old Qt version, install the Android version there in a subfolder.
QtCreator can handle multiple Qt versions, so no need to uninstall your existing version.Good, I will do that. Thanks.
@J-Hilk
Thanks for your info.
There isn't the path you talked about in 5.7 in Devices, yes.PS: I haven't installed Qt creator (of Qt 5.7), only Qt Creator (Community).
-
I decided to uninstall 5.7 and installed qt-opensource-windows-x86-android-5.8.0.exe with these features.
Now I think I should add an AVD on the AVD Manager cadre of the Android tab.
I tried to create a new AVD named "AVD_for_Android_apps" this way, but it needs an imgae (!) seemingly!Have I gone the way correctly?
-
It worked (although I don't know how! :)).
Now I'm following an example of docs for being familiar with android programming, and have three options/kits for choosing.Two last questions:
1- should I always check only the checkbox of the first one, "Android for armeabi-v7a (GCC 4.9, Qt 5.8.0)", for Android apps?And 2- Should I always check only the checkbox of the third one, "Desktop Qt 5.8.0 MinGW 32bit (default)", for Windows apps?
Everything OK now?
-
It worked (although I don't know how! :)).
Now I'm following an example of docs for being familiar with android programming, and have three options/kits for choosing.Two last questions:
1- should I always check only the checkbox of the first one, "Android for armeabi-v7a (GCC 4.9, Qt 5.8.0)", for Android apps?And 2- Should I always check only the checkbox of the third one, "Desktop Qt 5.8.0 MinGW 32bit (default)", for Windows apps?
Everything OK now?
Theres a reason, that there are 2 Android-kits, armeabi-v7a and x86.
Never the less 90% off all android devices have the v7 architecture so you're most likly fine with arm7 as the only selection for your android compiler.
If you want to publish your app in the Play-Store, you should compile for both, make sure that it works for both, and publish them both. GooglePlay will handle the correct distribution for you.