[SOLVED] Problems installing Qt for Android development
-
Hello,
I've downloaded Qt 5.1.1, Android version. Ticked all buttons during installation. Made sure that all prerequisites are there (according to this instruction http://qt-project.org/doc/qt-5.1/qtdoc/android-support.html), namely the Android SDK and NDK as well as Java and Ant.
When Qt is installed I can see all kits that I had on my system previously, but no kit for Android development is there. Also, there is no compiler for Android in Auto-detected list and, naturally, under the Qt versions tab, the auto-detected "Qt 5.1.1 for Android x86" and "Qt 5.1.1 for Android armv7" have an exclamation mark next to them with error message "No compiler can produce code for this Qt version".
Where do I begin to debug this?
How is Qt Creator supposed to know of installed compilers? NDK does not define any env vars during installation and Qt installer doesn't have any options on specifying the toolchain location.
What compiler should be cross-compiling for Android devices? -
Hi,
AFAIK, you need to setup Android in Qt Creator. You should have an Android panel for that if you have recent enough (e.g. 2.8.1) version. Once that is done check again your Qt Version/Kits
Hope it helps
-
Thank you! How could I miss that tab. I guess, they could've added that into documentation, though.
-
You're welcome !
If this solves your problem, please update the thread title prepending [solved] so other forum users may know a solution has been found :)