tintin
tintin

Reputation: 45

Qt is not detecting android kits automaticallly

I am an absolute beginner. I want to install Qt for android development.

I followed the instructions for installing Qt as specified on Qt's website. I installed android manager and set up SDK, NDK, ant and JDK. After this I specified there locations in Qt but Qt is not detecting any kits at all. Why? Is there something that i am missing?

It might help to know that I an running Qt on ubuntu 16.04.3 and my Qt's version is Qt Creator (community) open source free

If I manually add a kit what should I do about sysroot and other empty fields.

What do i do about the empty fields

Upvotes: 0

Views: 1191

Answers (2)

Libor B.
Libor B.

Reputation: 509

I have the similar problem. Problem was with NDK version. The newest NDK version doesn't contains executable gcc compilers (it use clang compiler). I must use NDK version 15.

Upvotes: 1

user8057102
user8057102

Reputation:

I had to configure manually as well for embedded linux.. To configure manually, in case you did all the configuration to a new qt, i just gotta select your compiler and change the qt version to the one you configured for the cross compiler. All the other option, let by default. Make sure your cross compiler command is set in your PATH.

This qt version is the path to your qmake.

Upvotes: 0

Related Questions