The kit was there untill I updated Qt due to certain problem.

In option > android I have set everything up, such as the SDK, NDK, Ant and JDK.

Below NDK it says it has found 6 toolchains.

enter image description here

In the kits section it only auto-detected one, which is the desktop...

有帮助吗?

解决方案 2

You have not selected any Qt version. You should select something like Qt 5.3 (Android_ARMV7) for that field.

You can also Goto Tools > Option > Android settings page and make sure Automatically create kits for Android tool chains is checked, and apply it. If you check this option, it will create the kit with an appropriate name.

Now, goto Tools > Option > Build and Run settings page, and click on Kits tab and check if Qt Creator created the Android kits.

其他提示

I ran into this same problem - it was because I hadn't installed the QT compilers for Android.

To fix it, you need to go back to the installer (may need to uninstall the current version or install in a new directory) and expand the QT version you're using then check the relevant Android packages to be installed. Once the install is complete, set the SDK, NDK, JDK, and Ant and it should show the new kits in the build and run page.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top