Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Problems installing Qt for Android development
Forum Update on Monday, May 27th 2025

[SOLVED] Problems installing Qt for Android development

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.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.
  • C Offline
    C Offline
    Corvin
    wrote on last edited by
    #1

    Hello,

    I've downloaded Qt 5.1.1, Android version. Ticked all buttons during installation. Made sure that all prerequisites are there (according to this instruction http://qt-project.org/doc/qt-5.1/qtdoc/android-support.html), namely the Android SDK and NDK as well as Java and Ant.

    When Qt is installed I can see all kits that I had on my system previously, but no kit for Android development is there. Also, there is no compiler for Android in Auto-detected list and, naturally, under the Qt versions tab, the auto-detected "Qt 5.1.1 for Android x86" and "Qt 5.1.1 for Android armv7" have an exclamation mark next to them with error message "No compiler can produce code for this Qt version".

    Where do I begin to debug this?
    How is Qt Creator supposed to know of installed compilers? NDK does not define any env vars during installation and Qt installer doesn't have any options on specifying the toolchain location.
    What compiler should be cross-compiling for Android devices?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, you need to setup Android in Qt Creator. You should have an Android panel for that if you have recent enough (e.g. 2.8.1) version. Once that is done check again your Qt Version/Kits

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Corvin
        wrote on last edited by
        #3

        Thank you! How could I miss that tab. I guess, they could've added that into documentation, though.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You're welcome !

          If this solves your problem, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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