Qt World Summit: Register Today!

Building android app for x86 target

  • I am trying to build an app for x86 target for android platform (either 64 or 32 bits) and i can't setup the build kit.

    The erorr is "No compiler set"

    There is no problem with my SDK and NDK paths:

    I have the API 28 downloaded and configured correctly.

    I suppose this happens because the compilers aren't autodetected automatically:

    However, the debuggers , are:
    Why are the debuggers detected but compilers are not?

    I know I can add compiler manually but there are so may options so I don't know how to set this up.

    So, basically the question is, how to configure the build kit for android x86 emulator?

  • Moderators

    API 28 was introduced after Qt 5.11 was released. Google tends to change SDK/NDK paths a lot, I suspect that might be why you have issues here. Try with Qt 5.12.

    If you want to point c++ compiler manually to Qt, it's at ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++. But Qt 5.11 is unlikely to work with clang.

  • @sierdzio you are totally right! I installed 5.12 and had no issue at all. But trying to create a kit with custom CC / GCC was a pain since it was complaining about incompatibility.

Log in to reply