Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Building android app for x86 target

Building android app for x86 target

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 489 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nulik
    wrote on last edited by
    #1

    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"
    0_1556410259438_build_error.png

    There is no problem with my SDK and NDK paths:
    0_1556410459201_dev.png

    I have the API 28 downloaded and configured correctly.

    I suppose this happens because the compilers aren't autodetected automatically:
    0_1556410586868_compilers.png

    However, the debuggers , are:
    0_1556410638776_debuggers.png
    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?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      N 1 Reply Last reply
      3
      • sierdzioS sierdzio

        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.

        N Offline
        N Offline
        Nulik
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved