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. Can not set android clang compilers for Qt Android on Ubuntu
Qt 6.11 is out! See what's new in the release blog

Can not set android clang compilers for Qt Android on Ubuntu

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

    I installed Qt Android 5.15.2 on Ubuntu but there is problem with the compilers. This is what I have set:

    enter image description here

    And here is what QtCreator detects as compilers:

    enter image description here

    The first error is displayed here in the Qt version tab:

    enter image description here

    and also in the Kit tab I see this errors no matter which compilers I set from the available:

    enter image description here

    Why I got this errors? Can please someone that has android kit on Ubuntu already set, tell me which compilers is using and which paths are for the compilers?
    I will add more information for the current compilers or kits if needed.

    J.HilkJ 1 Reply Last reply
    0
    • advmA advm

      I installed Qt Android 5.15.2 on Ubuntu but there is problem with the compilers. This is what I have set:

      enter image description here

      And here is what QtCreator detects as compilers:

      enter image description here

      The first error is displayed here in the Qt version tab:

      enter image description here

      and also in the Kit tab I see this errors no matter which compilers I set from the available:

      enter image description here

      Why I got this errors? Can please someone that has android kit on Ubuntu already set, tell me which compilers is using and which paths are for the compilers?
      I will add more information for the current compilers or kits if needed.

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by J.Hilk
      #2

      @advm from a quick look of the provided screenshot, I would say, QtCreator did not find any Android specific compilers, those are usually found inside the ndk tool chain folder.

      for example for me it looks like this

      fb6d5060-f6cf-4430-b1e8-88a17bc88524-image.png

      did you install the compilers correctly? Do you find the compiler in the specified folders?


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      3
      • advmA Offline
        advmA Offline
        advm
        wrote on last edited by advm
        #3

        @J-Hilk thank you for answer. I have tried following the screenshot you posted but still got error.
        Should I try with other NDK version or it doesn't matter?
        Here are more images after latest changes:

        clang_ndk.png

        Cland++.png

        KitImage.png

        KitOveral.png

        1 Reply Last reply
        0
        • advmA Offline
          advmA Offline
          advm
          wrote on last edited by
          #4

          Found the problem. It looks like the ndk that I have installed was missing some files. After downloading it again the compilers are auto-detected and everything works fine. Thanks @J-Hilk

          1 Reply Last reply
          1

          • Login

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