Important: Please read the Qt Code of Conduct -

Installing and configuring QT Creator 5.6 ... some issues

  • Hi to all!

    I have installed QT 5.6 from the official QT site, I have selected to install support to Android, after installation, I clicked on Tools->Options and a window appeared and noticed that Android SDK and NDK were missing, So I clicked on the download button and downloaded both SDK and NDK, after that, I extracted the zip and tar files and relocate the directories to a permanent place, then I entered on SDK directory and searched for the command "android" to install the APIs, then I ran the command ./android and a window appeared telling me to select what APIs to install, I have selected API 23 and 16 (cause are the versions of android smartphones I have, I intend to start programming for android devices...), after that, I opended Qt Creator 5.6 Tools->Options and added the SDK and NDK directory path... after that, I noticed the following:

    There are 3 issues:

    1 - I have installed Cmake by typing "sudo apt-get install cmake" and noticed that Qt Creator has detected cmake in "/usr/bin/cmake", but now I am having problems with the KITS, there are those red and yellows signs advising that the debuggers haven't been found!!! I have installed the last Android NDK (android-ndk-r11c) from the official Site. Here a screenshot:

    2- On General tab, every time I open Qt Creator, it shows:

    /bin/sh: 1: /mnt/MyFiles/usr/local/android-ndk-r11c/toolchains/x86-4.8/prebuilt/linux-x86_64/bin/i686-linux-android-gcc: not found
    /bin/sh: 1: /mnt/MyFiles/usr/local/android-ndk-r11c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: not found

    I have checked the toolchains directory and found only these folders:


    it seems that the arm-linux-androideabi-4.8 and x86-4.8 are missing... How can I add those to make stop the advisings?

    3 - After adding SDK and NDK, it appeared: "Qt versions for 3 architectures are missing...", I plan to develop software for Desktop and Android devices, should I install more Qt Versions for those 3 missing architectures?

    on Tools->Options and Qt Versions tab, appears that I have installed the following qt versions:


    Is it enough to compile software for Desktop and Android Devices?

    Thanks in advance!

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    1. Which debuggers ? The one for x86 or Android ? If the former, you have to install gdb if the later it's related to 2
    2. 4.8 has been removed from r11 so one thing you can try is to modify the compiler used in the kit and point it to 4.9
    3. No you don't need to unless you want to target them specifically. In that case, you'll likely have to build Qt yourself (e.g. for mips).

    Yes, it's enough. The Qt package for Android also install the desktop version.

Log in to reply