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. Can not configure Qt Creator for Android

Can not configure Qt Creator for Android

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 3 Posters 1.2k 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.
  • Z Offline
    Z Offline
    zed1970
    wrote on last edited by
    #1

    Hi,
    I know this has been in the forum before but the solution doesn't help me. I'm using Qt version 5.14.1, at the point of adding kits I have an error icon next to Qt 5.14.1 for Android, I'm getting following errors when I'm trying to configure Android.

    In Options - Qt Creator

    NDK is not configured in Devices > Android
    

    In Qt console

    Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
    Could not read qmake configuration file F:/Qt/5.14.1/android/mkspecs/android-clang/qmake.conf.
    

    I have placed these environment variables still it makes no difference at all.
    Can someone please help. Thanks

    jsulmJ 1 Reply Last reply
    0
    • Z zed1970

      Hi,
      I know this has been in the forum before but the solution doesn't help me. I'm using Qt version 5.14.1, at the point of adding kits I have an error icon next to Qt 5.14.1 for Android, I'm getting following errors when I'm trying to configure Android.

      In Options - Qt Creator

      NDK is not configured in Devices > Android
      

      In Qt console

      Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
      Could not read qmake configuration file F:/Qt/5.14.1/android/mkspecs/android-clang/qmake.conf.
      

      I have placed these environment variables still it makes no difference at all.
      Can someone please help. Thanks

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @zed1970 said in Can not configure Qt Creator for Android:

      I have placed these environment variables still it makes no difference at all.

      And you installed Android NDK?
      Did you check "Devices/Android" tab in properties dialog in QtCreator?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • Z Offline
        Z Offline
        zed1970
        wrote on last edited by
        #3

        Much appreciated your reply I've managed to get rid of one error but faced with another one ;

        No compiler can produce code for this qt version.  Please define one or more compilers for:
        
        KroMignonK 1 Reply Last reply
        0
        • Z zed1970

          Much appreciated your reply I've managed to get rid of one error but faced with another one ;

          No compiler can produce code for this qt version.  Please define one or more compilers for:
          
          KroMignonK Offline
          KroMignonK Offline
          KroMignon
          wrote on last edited by
          #4

          @zed1970 Which NDK did you install? As far as I know, Qt 5.14.x requires NDK r20 to work.

          It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

          1 Reply Last reply
          3
          • Z Offline
            Z Offline
            zed1970
            wrote on last edited by
            #5

            Thank you that was great help I had to download r21. I was using the old one.

            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