Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Installing and configuring QT Creator 5.6 ... some issues
Forum Updated to NodeBB v4.3 + New Features

Installing and configuring QT Creator 5.6 ... some issues

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.3k Views 1 Watching
  • 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.
  • paulocwegerP Offline
    paulocwegerP Offline
    paulocweger
    wrote on last edited by
    #1

    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:

    http://i.imgur.com/zibTZXF.png
    http://i.imgur.com/cfN2u59.png
    http://i.imgur.com/dPdr9m7.png
    http://i.imgur.com/bnO27pl.png
    http://i.imgur.com/qiGbx6M.png
    http://i.imgur.com/mf8uA6Y.png
    http://i.imgur.com/mfTn2P0.png

    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: http://i.imgur.com/zibTZXF.png

    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:

    aarch64-linux-android-4.9
    arm-linux-androideabi-4.9
    llvm
    mips64el-linux-android-4.9
    mipsel-linux-android-4.9
    x86_64-4.9
    x86-4.9

    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:

    androidarmv7
    android_x86
    gcc_64bit

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

    Thanks in advance!

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

      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.

      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