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. Unable to debug Android App (Windows + Qt Creator 12 + LLDB)

Unable to debug Android App (Windows + Qt Creator 12 + LLDB)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
169 Posts 9 Posters 61.4k 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.
  • C CodesInChaoss
    24 Feb 2024, 13:55

    @JoeCFD you say?

    C Offline
    C Offline
    CodesInChaoss
    wrote on 24 Feb 2024, 19:09 last edited by CodesInChaoss
    #92

    @CodesInChaoss f95a2129-b57c-4acd-bb74-11707ecc3050-image.png

    The exact version of UBUNTU as advised by QT documentation....

    Now,' hilarious' is not a word which would do justice, or is it..

    C J 2 Replies Last reply 24 Feb 2024, 19:10
    0
    • C CodesInChaoss
      24 Feb 2024, 19:09

      @CodesInChaoss f95a2129-b57c-4acd-bb74-11707ecc3050-image.png

      The exact version of UBUNTU as advised by QT documentation....

      Now,' hilarious' is not a word which would do justice, or is it..

      C Offline
      C Offline
      CodesInChaoss
      wrote on 24 Feb 2024, 19:10 last edited by CodesInChaoss
      #93

      The above is shown... On a fresh Ubuntu installation... on default 5.15.16 settings...... online installer...

      after the installation is finished and when attempting to launch Creator 12

      J 1 Reply Last reply 24 Feb 2024, 19:34
      0
      • C CodesInChaoss
        24 Feb 2024, 19:10

        The above is shown... On a fresh Ubuntu installation... on default 5.15.16 settings...... online installer...

        after the installation is finished and when attempting to launch Creator 12

        J Online
        J Online
        JoeCFD
        wrote on 24 Feb 2024, 19:34 last edited by JoeCFD
        #94

        @CodesInChaoss Install Qt 5.15.2 and use Qt Creator which comes with Qt 5.15.2 on Ubuntu 22.04 That is what I did with my project for Android. No issues with debugging. I will have a shot at Qt 6.6.2 with Qt Creator 12 for Android on Monday. I know it is messy and too many settings.

        C 1 Reply Last reply 24 Feb 2024, 21:18
        0
        • J JoeCFD
          24 Feb 2024, 19:34

          @CodesInChaoss Install Qt 5.15.2 and use Qt Creator which comes with Qt 5.15.2 on Ubuntu 22.04 That is what I did with my project for Android. No issues with debugging. I will have a shot at Qt 6.6.2 with Qt Creator 12 for Android on Monday. I know it is messy and too many settings.

          C Offline
          C Offline
          CodesInChaoss
          wrote on 24 Feb 2024, 21:18 last edited by
          #95

          @JoeCFD

          Thank you kindly for your reply, so few people here willing to give a helpful hand.

          597882e5-acd5-4ef8-93bf-0212122f355f-image.png

          Yet, since we decided to pay for QT to in order to avoid the inherent bogs of open source (which we've been using years) we rather stick to QT creator which is compatible with QT 5.15.16 (and the prior version which you suggested is not).

          Follow instructions above.

          Would be nice for Qt team to improve installer as they state no additional libraries would be needed on this very Ubuntu.

          Follow steps above to install missing libs.

          C 1 Reply Last reply 24 Feb 2024, 21:47
          0
          • C CodesInChaoss
            24 Feb 2024, 21:18

            @JoeCFD

            Thank you kindly for your reply, so few people here willing to give a helpful hand.

            597882e5-acd5-4ef8-93bf-0212122f355f-image.png

            Yet, since we decided to pay for QT to in order to avoid the inherent bogs of open source (which we've been using years) we rather stick to QT creator which is compatible with QT 5.15.16 (and the prior version which you suggested is not).

            Follow instructions above.

            Would be nice for Qt team to improve installer as they state no additional libraries would be needed on this very Ubuntu.

            Follow steps above to install missing libs.

            C Offline
            C Offline
            CodesInChaoss
            wrote on 24 Feb 2024, 21:47 last edited by
            #96

            565fc1e1-aba4-4810-a439-a8618b046381-image.png @CodesInChaoss

            another incompatibility

            Ubuntu comes with TSL 3.0 not 1.1.

            1 Reply Last reply
            0
            • C CodesInChaoss
              24 Feb 2024, 19:09

              @CodesInChaoss f95a2129-b57c-4acd-bb74-11707ecc3050-image.png

              The exact version of UBUNTU as advised by QT documentation....

              Now,' hilarious' is not a word which would do justice, or is it..

              J Online
              J Online
              JoeCFD
              wrote on 24 Feb 2024, 22:06 last edited by
              #97

              @CodesInChaoss Ubuntu 22.04 may be better. Ubuntu 20.04 is kind of old. At home I installed 23.04.

              C 1 Reply Last reply 25 Feb 2024, 09:09
              0
              • J JoeCFD
                24 Feb 2024, 22:06

                @CodesInChaoss Ubuntu 22.04 may be better. Ubuntu 20.04 is kind of old. At home I installed 23.04.

                C Offline
                C Offline
                CodesInChaoss
                wrote on 25 Feb 2024, 09:09 last edited by
                #98

                @JoeCFD

                well we know very well BUT that's what QT recommends for 5.15.16, and we want simply to be able to debug above anything else.

                C 1 Reply Last reply 25 Feb 2024, 09:14
                0
                • C CodesInChaoss
                  25 Feb 2024, 09:09

                  @JoeCFD

                  well we know very well BUT that's what QT recommends for 5.15.16, and we want simply to be able to debug above anything else.

                  C Offline
                  C Offline
                  CodesInChaoss
                  wrote on 25 Feb 2024, 09:14 last edited by
                  #99

                  We've now compiled OpenSSL 1.1.1 from sources , installed fired up QT Creator 12, the Android SDK autonomous installation process now commenced fine.. let us hope for the best.

                  Fingers crossed.

                  C 1 Reply Last reply 25 Feb 2024, 09:14
                  0
                  • C CodesInChaoss
                    25 Feb 2024, 09:14

                    We've now compiled OpenSSL 1.1.1 from sources , installed fired up QT Creator 12, the Android SDK autonomous installation process now commenced fine.. let us hope for the best.

                    Fingers crossed.

                    C Offline
                    C Offline
                    CodesInChaoss
                    wrote on 25 Feb 2024, 09:14 last edited by
                    #100

                    @CodesInChaoss cd722ece-94b5-409d-b49e-3f0ba3d782c3-image.png

                    C 1 Reply Last reply 25 Feb 2024, 09:15
                    0
                    • C CodesInChaoss
                      25 Feb 2024, 09:14

                      @CodesInChaoss cd722ece-94b5-409d-b49e-3f0ba3d782c3-image.png

                      C Offline
                      C Offline
                      CodesInChaoss
                      wrote on 25 Feb 2024, 09:15 last edited by
                      #101

                      @CodesInChaoss 8cf99d2d-c287-4ad8-8ca2-818055b24355-image.png

                      C 1 Reply Last reply 25 Feb 2024, 09:19
                      0
                      • C CodesInChaoss
                        25 Feb 2024, 09:15

                        @CodesInChaoss 8cf99d2d-c287-4ad8-8ca2-818055b24355-image.png

                        C Offline
                        C Offline
                        CodesInChaoss
                        wrote on 25 Feb 2024, 09:19 last edited by
                        #102

                        @CodesInChaoss d7ef85e8-d162-474c-95d8-fc6da65fcf44-image.png

                        so we've downloaded by hand; looking good;

                        but

                        The Kits... not so much...
                        3f70272c-aed7-46e1-af26-9a4813c047cd-image.png

                        C 1 Reply Last reply 25 Feb 2024, 09:21
                        0
                        • C CodesInChaoss
                          25 Feb 2024, 09:19

                          @CodesInChaoss d7ef85e8-d162-474c-95d8-fc6da65fcf44-image.png

                          so we've downloaded by hand; looking good;

                          but

                          The Kits... not so much...
                          3f70272c-aed7-46e1-af26-9a4813c047cd-image.png

                          C Offline
                          C Offline
                          CodesInChaoss
                          wrote on 25 Feb 2024, 09:21 last edited by
                          #103

                          Restarting QT Creator help for the kits to properly initialize:
                          50209866-7ff2-4f1c-88df-c0c6562a150b-image.png

                          now the only warning is that a device is missing.. well because it's missing as of now

                          C 1 Reply Last reply 25 Feb 2024, 09:24
                          0
                          • C CodesInChaoss
                            25 Feb 2024, 09:21

                            Restarting QT Creator help for the kits to properly initialize:
                            50209866-7ff2-4f1c-88df-c0c6562a150b-image.png

                            now the only warning is that a device is missing.. well because it's missing as of now

                            C Offline
                            C Offline
                            CodesInChaoss
                            wrote on 25 Feb 2024, 09:24 last edited by
                            #104

                            @CodesInChaoss

                            57b864af-f1a1-453b-b66b-b0e7cc14c147-image.png

                            We've got a single Multi-Abi kit, let's look inside

                            5ddf384e-6a36-4e6b-a20e-25d032b3268f-image.png

                            same settings as on Windows.

                            we would switch compiler to aarch64, which we believe should be by default by now. Few 32 bit devices around.

                            Now the question.. on Linux... we should be after LLDB correct? not gdb

                            it's the freedom oriented realm where all the Linux level latest goodies are expected to shine, right?

                            Let the Microsoft burdens be upon us no more.

                            Fingers crossed.

                            let's try to debug.

                            C 1 Reply Last reply 25 Feb 2024, 09:38
                            0
                            • C CodesInChaoss
                              25 Feb 2024, 09:24

                              @CodesInChaoss

                              57b864af-f1a1-453b-b66b-b0e7cc14c147-image.png

                              We've got a single Multi-Abi kit, let's look inside

                              5ddf384e-6a36-4e6b-a20e-25d032b3268f-image.png

                              same settings as on Windows.

                              we would switch compiler to aarch64, which we believe should be by default by now. Few 32 bit devices around.

                              Now the question.. on Linux... we should be after LLDB correct? not gdb

                              it's the freedom oriented realm where all the Linux level latest goodies are expected to shine, right?

                              Let the Microsoft burdens be upon us no more.

                              Fingers crossed.

                              let's try to debug.

                              C Offline
                              C Offline
                              CodesInChaoss
                              wrote on 25 Feb 2024, 09:38 last edited by
                              #105

                              @CodesInChaoss 7e1b6807-4752-444f-a28b-6a00ff1ff0d9-image.png

                              eh.. it's been long since I've seen password field neither encrypted nor 'asterixed'...

                              C 1 Reply Last reply 25 Feb 2024, 10:09
                              0
                              • C CodesInChaoss
                                25 Feb 2024, 09:38

                                @CodesInChaoss 7e1b6807-4752-444f-a28b-6a00ff1ff0d9-image.png

                                eh.. it's been long since I've seen password field neither encrypted nor 'asterixed'...

                                C Offline
                                C Offline
                                CodesInChaoss
                                wrote on 25 Feb 2024, 10:09 last edited by
                                #106

                                Yet another bug
                                f3bd6d2c-a3bb-4865-ada3-96a754971acf-image.png

                                Subversion sub-system would recognize that the 'svn' command might not be available and indicate in red.

                                When subversion is installed on system it would be red no more... but QT Creator 12 would still deem the sub-version NOT TO BE CONFIGURED.

                                No error message. 'svn' in red NO MORE.

                                only once user provided an explicit absolute path would Creator assume SVN to be configured and shown the -subversion- sub-menu in Tools.

                                C 1 Reply Last reply 25 Feb 2024, 11:32
                                0
                                • C CodesInChaoss
                                  25 Feb 2024, 10:09

                                  Yet another bug
                                  f3bd6d2c-a3bb-4865-ada3-96a754971acf-image.png

                                  Subversion sub-system would recognize that the 'svn' command might not be available and indicate in red.

                                  When subversion is installed on system it would be red no more... but QT Creator 12 would still deem the sub-version NOT TO BE CONFIGURED.

                                  No error message. 'svn' in red NO MORE.

                                  only once user provided an explicit absolute path would Creator assume SVN to be configured and shown the -subversion- sub-menu in Tools.

                                  C Offline
                                  C Offline
                                  CodesInChaoss
                                  wrote on 25 Feb 2024, 11:32 last edited by
                                  #107

                                  Even on Linux, after a single restart of the machine the Debugger settings within of a Kit - these were GONE.

                                  haven't tried to debug yet.

                                  C 1 Reply Last reply 25 Feb 2024, 11:33
                                  0
                                  • C CodesInChaoss
                                    25 Feb 2024, 11:32

                                    Even on Linux, after a single restart of the machine the Debugger settings within of a Kit - these were GONE.

                                    haven't tried to debug yet.

                                    C Offline
                                    C Offline
                                    CodesInChaoss
                                    wrote on 25 Feb 2024, 11:33 last edited by
                                    #108

                                    @CodesInChaoss d5918b25-c4d2-4b31-8935-0449ccde65c8-image.png

                                    no idea what it's about?

                                    C 1 Reply Last reply 25 Feb 2024, 11:36
                                    0
                                    • C CodesInChaoss
                                      25 Feb 2024, 11:33

                                      @CodesInChaoss d5918b25-c4d2-4b31-8935-0449ccde65c8-image.png

                                      no idea what it's about?

                                      C Offline
                                      C Offline
                                      CodesInChaoss
                                      wrote on 25 Feb 2024, 11:36 last edited by
                                      #109

                                      @CodesInChaoss it's f*** nightmare the QT experience coooome oonnnnn..

                                      C 1 Reply Last reply 25 Feb 2024, 11:39
                                      0
                                      • C CodesInChaoss
                                        25 Feb 2024, 11:36

                                        @CodesInChaoss it's f*** nightmare the QT experience coooome oonnnnn..

                                        C Offline
                                        C Offline
                                        CodesInChaoss
                                        wrote on 25 Feb 2024, 11:39 last edited by
                                        #110

                                        @CodesInChaoss 0f312156-360a-4cf4-bebf-238ef4c688c1-image.png

                                        the above helped

                                        1. install dos2unix
                                        2. cd android && dos2unix ./gradlew

                                        (...)) f**** !

                                        C 1 Reply Last reply 25 Feb 2024, 11:40
                                        0
                                        • C CodesInChaoss
                                          25 Feb 2024, 11:39

                                          @CodesInChaoss 0f312156-360a-4cf4-bebf-238ef4c688c1-image.png

                                          the above helped

                                          1. install dos2unix
                                          2. cd android && dos2unix ./gradlew

                                          (...)) f**** !

                                          C Offline
                                          C Offline
                                          CodesInChaoss
                                          wrote on 25 Feb 2024, 11:40 last edited by
                                          #111

                                          @CodesInChaoss f398d40e-a74c-4a59-a1f2-675599c2a9db-image.png
                                          at least now it compiled (..)

                                          Now.. to debug.. over a network... DO I DARE?

                                          C 1 Reply Last reply 25 Feb 2024, 12:32
                                          0

                                          101/169

                                          25 Feb 2024, 09:15

                                          • Login

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