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. Qt 5.10.0, can't compile to Android, arm-linux-android-elf-32bit

Qt 5.10.0, can't compile to Android, arm-linux-android-elf-32bit

Scheduled Pinned Locked Moved Solved Installation and Deployment
10 Posts 6 Posters 8.6k 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.
  • L Offline
    L Offline
    lqsa
    wrote on last edited by lqsa
    #1

    I've used 5.9 without problems. Android and Windows programs works well. After update to 5.10.0, I had problems with MSVC compiled programs, so I've uninstalled it and deleted all directories with Qt references and installed a clean 5.10.0. The MSVC problems disappears, but I can't compile Android projects, because has a configuration error:

    "No compiler can produce code for this Qt version. Please define one or more compilers for: arm-linux-android-elf-32bit"

    0_1514298331334_error.png

    Qt is installed on Windows 10 and the Android NDK is installed on D:\Android\android-ndk-r10e. Exists the environment variable ANDROID_NDK_ROOT=D:\Android\android-ndk-r10e

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

      Hi,

      Did you check the Compilers panel to see if your Android compilers were listed ?

      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
      1
      • L Offline
        L Offline
        lqsa
        wrote on last edited by
        #3

        Hi,

        no appears

        0_1514379065735_compilers.PNG

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

          What does the Android tab in the Devices panel tells you ?

          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
          1
          • L Offline
            L Offline
            lqsa
            wrote on last edited by
            #5

            It doesn't found anything

            0_1514401830462_android.PNG

            After configure Android SDK location and Android NDK location, it configures correctly Kits, Compilers, ...

            Thank you very much.

            1 Reply Last reply
            1
            • C Offline
              C Offline
              CaptainFlire
              wrote on last edited by
              #6

              Same problem for me but NDK and SDK path are configured and OK.

              H 1 Reply Last reply
              0
              • C CaptainFlire

                Same problem for me but NDK and SDK path are configured and OK.

                H Offline
                H Offline
                HowsonLiu
                wrote on last edited by
                #7

                @CaptainFlire I have the same problem too, have you solved it?

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  HowsonLiu
                  wrote on last edited by
                  #8

                  I solved it by updating my QtCreator:)

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    arjun30
                    wrote on last edited by
                    #9

                    Anyone come up with any other solutions, I have to same problem?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Palkakopalka
                      wrote on last edited by
                      #10

                      Install or build Qt for Android.
                      Run qtcreator, go to Tools -> Options -> Devices -> Android: set path to JDK, SDK, NDK, check "Automatically create kits for Android tool chains".
                      Tools -> Options -> Qt Versions: add path to "Qt for Android/bin/qmake".
                      After that an error message "No compiler can produce code.." will be displayed, that's normal, click the Ok button to save the changes.
                      Go back to Tools -> Options -> Kits, check that the Android toolchain has appeared and that "Qt for Android" in Tools -> Options -> Qt versions is now without errors.

                      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