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. Cannot build any Qt application on Android with QT 6.5
Forum Updated to NodeBB v4.3 + New Features

Cannot build any Qt application on Android with QT 6.5

Scheduled Pinned Locked Moved Solved Mobile and Embedded
13 Posts 2 Posters 1.1k 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.
  • J Offline
    J Offline
    jsulm
    Lifetime Qt Champion
    wrote on 3 May 2024, 07:31 last edited by
    #4

    OK, emulator device is indeed x86.
    You could try with the latest Qt6 release to see whether it works.
    I'm not sure about this part: /lib/x86/libQt6Core_x86.so Can you show your Qt configuration for Android in the Kit you're using?

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

    P 1 Reply Last reply 3 May 2024, 07:38
    0
    • J jsulm
      3 May 2024, 07:31

      OK, emulator device is indeed x86.
      You could try with the latest Qt6 release to see whether it works.
      I'm not sure about this part: /lib/x86/libQt6Core_x86.so Can you show your Qt configuration for Android in the Kit you're using?

      P Offline
      P Offline
      Patar
      wrote on 3 May 2024, 07:38 last edited by
      #5

      @jsulm i dont really know the kit one, i just do automatic, but here it is
      38dd7aee-f6c1-4236-911e-726a8eb8cbbb-image.png

      here is the configuration, i try to change the NDK to 26 but somehow it never saved and make error (the clone one), but the compiler one is red (idk why that happen)
      5c0aa2d6-5564-4005-98f7-de6d46246c55-image.png
      1ef5be95-5779-4200-95b5-0c5f01f51134-image.png
      6709bdf8-11c5-4d93-84a1-52dffa6ce0a7-image.png
      09bc92b3-439b-4dcb-8a6b-90c42e968a03-image.png

      but in build environment its NDK 26
      5de305d2-a3f9-4e85-86aa-9d3ce4676d0a-image.png
      d7929d18-23bd-4c03-a704-66b81e550fe0-image.png

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 3 May 2024, 07:43 last edited by
        #6

        This is not what I asked.
        The Kit you're using is selected on the left bottom side. Please check the name of that Kit and then got to the settings and there Kit tab - select the Kit you're currently using and check what Qt version is set in this Kit. Then go to "Qt Versions" tab and select that Qt version.
        It looks like you're using Qt 6.5 for Android, but it would be still good to see whether there are any warning in that Qt version.

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

        P 1 Reply Last reply 3 May 2024, 07:51
        0
        • J jsulm
          3 May 2024, 07:43

          This is not what I asked.
          The Kit you're using is selected on the left bottom side. Please check the name of that Kit and then got to the settings and there Kit tab - select the Kit you're currently using and check what Qt version is set in this Kit. Then go to "Qt Versions" tab and select that Qt version.
          It looks like you're using Qt 6.5 for Android, but it would be still good to see whether there are any warning in that Qt version.

          P Offline
          P Offline
          Patar
          wrote on 3 May 2024, 07:51 last edited by
          #7

          @jsulm i see this is my kit

          89defaf3-d347-4e68-8c2f-08ca4ecef2dc-image.png
          429dfced-6d9b-404f-9010-462eb8784fe0-image.png

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 3 May 2024, 07:54 last edited by
            #8

            What about checking the Qt version in "Qt Versions" tab?

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

            P 1 Reply Last reply 3 May 2024, 08:05
            0
            • J jsulm
              3 May 2024, 07:54

              What about checking the Qt version in "Qt Versions" tab?

              P Offline
              P Offline
              Patar
              wrote on 3 May 2024, 08:05 last edited by
              #9

              @jsulm this one ?
              a55e40a7-a445-4293-a208-158e8b478c57-image.png
              62cf584c-9339-40b7-807c-62271d0e6114-image.png

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 3 May 2024, 08:06 last edited by
                #10

                Yes. Also looks good.
                You could try with more recent Qt6 version.

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

                P 1 Reply Last reply 3 May 2024, 08:18
                0
                • J jsulm
                  3 May 2024, 08:06

                  Yes. Also looks good.
                  You could try with more recent Qt6 version.

                  P Offline
                  P Offline
                  Patar
                  wrote on 3 May 2024, 08:18 last edited by
                  #11

                  @jsulm said in Cannot build any Qt application on Android with QT 6.5:

                  Qt6 version.

                  what do you think the problem in here ? is it my version didn't up to date or something wrong with NDK, SDK or JDK
                  because my friend doing OK with 5.15 version but idk why i cant do it in 5.15 and 6.5

                  but thank you so much, i will update it to newest one, hope it will solve it

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 3 May 2024, 08:23 last edited by
                    #12

                    I don't know what the problem is. You can compare your setup (SDK version, NDK version, JDK version, ...) to the setup your friend has.

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

                    P 1 Reply Last reply 5 May 2024, 21:32
                    0
                    • J jsulm
                      3 May 2024, 08:23

                      I don't know what the problem is. You can compare your setup (SDK version, NDK version, JDK version, ...) to the setup your friend has.

                      P Offline
                      P Offline
                      Patar
                      wrote on 5 May 2024, 21:32 last edited by
                      #13

                      @jsulm Done it, thank you its works
                      i think its just bug in 6.5 and fixed in 6.7 as stated in here https://bugreports.qt.io/browse/QTBUG-119059

                      1 Reply Last reply
                      2
                      • P Patar has marked this topic as solved on 8 May 2024, 05:21

                      13/13

                      5 May 2024, 21:32

                      • Login

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