Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt Creator: No valid kits for Android found

After downloading the release candidate of QT android (windows 5.1) I decided to start QT Creator and try to make an android project (something small to see if it works). After following the tutorial I have added all (except for mips) android kits.

When I make a regular QT Application it tells me it sees all the android kits and if I use that it launches the emulator.

The problem however is that when I create a QT mobile application it tells me there are no valid kits.

enter image description here

like image 295
Floris Velleman Avatar asked Jun 07 '13 07:06

Floris Velleman


People also ask

How do I create an APK in Qt?

Note: In Qt Creator, select Projects > Build > Build Steps > Build Android APK > Open package location after build to build the application's . apk and open the directory containing the package.

Is Qt Creator still free?

Is Qt Creator free? There is an open-source license which is free and a commercial license. The commercial license (Qt creator and Qt SDK) starts at $459/month.

How do I install Qt plugins?

Note: You can install only plugins that are supported by your Qt Creator version. To install plugins: Select Help > About Plugins > Install Plugins. In the Source dialog, enter the path to the archive or library that contains the plugin.


2 Answers

I don't have a great answer for you as I'm very new to Qt-Creator, but I noticed that the "GUI Applications" have both Desktop and Android support. If you select GUI you'll have the option to configure the kits and select Android ARM 5/6/7 or x86 under your kits.

You can select Android or play around with both Desktop and Android to start out. I'm in the middle of playing with a "Hello World" example and trying to deploy to a Nexus 7. This definitely launches the AVD though I've had little success actually connecting to it at the moment.

Hopefully this pushes you past the initial hump.

like image 174
Daniel B. Chapman Avatar answered Sep 18 '22 00:09

Daniel B. Chapman


The "Mobile Application" kit is a left-over from older Qt versions, and should not be used anymore. In Qt Creator 2.8 it has been removed to avoid this confusion.

Just use any of the regular templates, such as "Qt GUI Application", "Qt Quick 2 Application" or "Empty Qt Project" to start from a completely clean slate. If you have problems using these templates, then those issues need to be addressed instead.

like image 39
Eskil Avatar answered Sep 21 '22 00:09

Eskil