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. How to setup Qt Creator 4.11.0 (Qt 5.14) to Android development
QtWS25 Last Chance

How to setup Qt Creator 4.11.0 (Qt 5.14) to Android development

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 1.3k 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.
  • S Offline
    S Offline
    sminder
    wrote on 16 Dec 2023, 18:30 last edited by
    #1

    I've got Qt 5.14 (Qt Creator 4.11.0) and I want to develop Android application with Qt. So I read some articles how to do this and download the appropriate tools:

    • JDK 21
    • Android SDK (downloaded by Android Studio)
    • Android NDK (downloaded from the website as zip-archive)

    I tried to setup Qt Creator with these tools and failed - I've got some red crosses in the "Options" window. Could you tell me what is wrong?

    This is the "Device" page of "Options":
    qt_settings.png
    This is a sctructure of my "SDK" directory:
    sdk.png
    This is a sctructure of my "NDK" directory:
    ndk.png

    So I have some questions:

    1. What is "SDK tools"?
    2. What is "Platform SDK"?
    3. What is wrong with NDK directory structure?
    4. Why the spaces absence check fails? As you see above my path does not contain any spaces.
    8 1 Reply Last reply 18 Dec 2023, 14:02
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Dec 2023, 19:33 last edited by
      #2

      Hi,

      First things first: update Qt Creator. It's currently at version 12 so the 4 series is more than outdated.

      Also, follow the Androïd getting started guide especially for the various versions of Java, NDK and SDK.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply 17 Dec 2023, 10:09
      0
      • S SGaist
        16 Dec 2023, 19:33

        Hi,

        First things first: update Qt Creator. It's currently at version 12 so the 4 series is more than outdated.

        Also, follow the Androïd getting started guide especially for the various versions of Java, NDK and SDK.

        S Offline
        S Offline
        sminder
        wrote on 17 Dec 2023, 10:09 last edited by
        #3

        You should understand, it's almost impossible to update Qt Creator independently because of very user unfriendly interface of Qt Maintenance tool. And as I found out from documentation I can use that Qt version for Android development. So what the problem is?

        J 1 Reply Last reply 18 Dec 2023, 13:52
        0
        • S sminder
          17 Dec 2023, 10:09

          You should understand, it's almost impossible to update Qt Creator independently because of very user unfriendly interface of Qt Maintenance tool. And as I found out from documentation I can use that Qt version for Android development. So what the problem is?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 18 Dec 2023, 13:52 last edited by
          #4

          @sminder said in How to setup Qt Creator 4.11.0 (Qt 5.14) to Android development:

          it's almost impossible to update Qt Creator independently because of very user unfriendly interface of Qt Maintenance tool

          Never had problems updating QtCreator. What exact problem do you have?

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

          1 Reply Last reply
          0
          • S sminder
            16 Dec 2023, 18:30

            I've got Qt 5.14 (Qt Creator 4.11.0) and I want to develop Android application with Qt. So I read some articles how to do this and download the appropriate tools:

            • JDK 21
            • Android SDK (downloaded by Android Studio)
            • Android NDK (downloaded from the website as zip-archive)

            I tried to setup Qt Creator with these tools and failed - I've got some red crosses in the "Options" window. Could you tell me what is wrong?

            This is the "Device" page of "Options":
            qt_settings.png
            This is a sctructure of my "SDK" directory:
            sdk.png
            This is a sctructure of my "NDK" directory:
            ndk.png

            So I have some questions:

            1. What is "SDK tools"?
            2. What is "Platform SDK"?
            3. What is wrong with NDK directory structure?
            4. Why the spaces absence check fails? As you see above my path does not contain any spaces.
            8 Offline
            8 Offline
            8Observer8
            wrote on 18 Dec 2023, 14:02 last edited by 8Observer8
            #5

            @sminder said in How to setup Qt Creator 4.11.0 (Qt 5.14) to Android development:

            What is "SDK tools"?
            What is wrong with NDK directory structure?

            SDK tools and NDK can be found in SDK Manager. Click here:

            ba203de0-7267-4f17-beef-7354264a11ba-image.png

            I will find there:

            • NDK (Side by side)
            • Android SDK Platform-Tools
            • Android SDK Build-Tools
            • Android SDK Command-line Tools

            You need check them and install:

            bdde04d3-4b7c-480a-b2b0-1def41474ac0-image.png

            What is "Platform SDK"?
            Platform SDK can be found in SDK Manager too. For example:

            43c9906f-b189-468f-98fa-6924fc966c11-image.png

            1 Reply Last reply
            0
            • 8 Offline
              8 Offline
              8Observer8
              wrote on 18 Dec 2023, 16:22 last edited by
              #6

              To run an application on Android emulator you should install "Android Emulator":

              0f4136db-199a-4dbd-9228-a5a70052d020-image.png

              And "System Image". For example:

              d561304f-4ff3-4728-868a-d3b889909c91-image.png

              Create a virtual device.

              This is an example how the Emulator looks with OpenGL ES 2.0 app:

              bff7eeb5-f6dc-4649-bf25-d4c4fa0260a2-image.png

              1 Reply Last reply
              0

              1/6

              16 Dec 2023, 18:30

              • Login

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