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. Setting up Qt with Android
Forum Update on Monday, May 27th 2025

Setting up Qt with Android

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 2 Posters 1.2k 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.
  • E Offline
    E Offline
    El3ctroGh0st
    wrote on last edited by
    #1

    Hello,

    I am trying to compile a program of mine (it works without any problems on Windows) for Android. I have downloaded the Android SDK, Java SDK and NDK. However, I get the following warning:I get the following warning
    I did go to the Qt Versions window, however, I'm not quite sure what exactly I am supposed to do there. Here's how the window looks:

    Could anybody help me with that?

    K 1 Reply Last reply
    0
    • E El3ctroGh0st

      Hello,

      I am trying to compile a program of mine (it works without any problems on Windows) for Android. I have downloaded the Android SDK, Java SDK and NDK. However, I get the following warning:I get the following warning
      I did go to the Qt Versions window, however, I'm not quite sure what exactly I am supposed to do there. Here's how the window looks:

      Could anybody help me with that?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @El3ctroGh0st

      AFAIK the recommendation for NDK version 10e is still valid. See below

      Installing the Prerequisites
      In order to use Qt for Android, you need the following:

      The Android SDK Tools
      Note: If your Qt version is earlier than v5.9, use the SDK tools package v25.2.5 or earlier.

      The Android NDK (recommended version 10e)
      Java SE Development Kit (JDK) v6 or later. You can also use OpenJDK on Linux.

      copied from here

      You try downgrading your NDK

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • E Offline
        E Offline
        El3ctroGh0st
        wrote on last edited by
        #3

        I just did that. Didn't seem to fix it. :/

        K 1 Reply Last reply
        0
        • E El3ctroGh0st

          I just did that. Didn't seem to fix it. :/

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @El3ctroGh0st

          Well at least your screen shot above indicates that there is NDK 16.1..that reads to me as NDK 16a and not NDK 10e.

          Vote the answer(s) that helped you to solve your issue(s)

          E 1 Reply Last reply
          0
          • K koahnig

            @El3ctroGh0st

            Well at least your screen shot above indicates that there is NDK 16.1..that reads to me as NDK 16a and not NDK 10e.

            E Offline
            E Offline
            El3ctroGh0st
            wrote on last edited by
            #5

            @koahnig Yes, I previously used 16.1. But now I downloaded NDK 10e and switched to it. But it didn't change anything.

            K 1 Reply Last reply
            0
            • E El3ctroGh0st

              @koahnig Yes, I previously used 16.1. But now I downloaded NDK 10e and switched to it. But it didn't change anything.

              K Offline
              K Offline
              koahnig
              wrote on last edited by
              #6

              @El3ctroGh0st

              Otherwise the Android setup looks correct IMHO. It basically tells you that there are other architectures currently not covered. When you really need those architectures, you can install them later on. However, you should be set at the moment to start with developing for Android.

              It looks like you have installed all possible versions of Qt libs including different pre-compiled builds for different MSVC versions. Apparently Qt creator could not find 64 bit MSVC2013 compiler, but that is not an issue for Android compilation.

              To continue with Android it is probably best to use the Android examples for compilation and playing around. The examples are typically under Qt/examples . Some explanation on examples are here

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              2

              • Login

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