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't find C++ debugger
Forum Updated to NodeBB v4.3 + New Features

Can't find C++ debugger

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 4 Posters 2.0k Views 2 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.
  • E Offline
    E Offline
    ebonnett
    wrote on last edited by
    #1

    Last night I was working in Qt Creator (4.6.1) and it crashed. Windows 10 gave me the "Qt Creator has stopped working" popup. I restarted Qt Creator and my project file had been corrupted (I assume this because my toolkits for windows were gone). I deleted my pro.user file and let Qt recreate it. Since then when I try to debug Android, the app dies with "Can't find C++ ![alt text](image url)debugger.

    My setup:
    Qt Creator 4.6.1
    NDK r10e
    SDK 26.1.1
    JDK 1.8.0_131

    Here is a screenshot of the Auto-detected debuggers

    0_1528464833781_5bf04327-7681-4c77-8ba7-3cde6b6bb89d-image.png

    Here are some things I have tried:

    Cloning the toolkit and changing the debugger
    Uninstalling Qt Creator and reinstalling 4.6.1.
    Installing the Qt Creator 4.7.0 Beta.

    Nothing is working. Does anyone have any insight into why or what a workaround is? I'm really pressed for time (as I'm sure everyone is) but I have to release in a matter of days and have pressing issues to resolve.

    Thank you in advance for any expert tutelage given.

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

      Hi,

      Did you also try to delete Qt Creator's configuration ?

      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
      • E Offline
        E Offline
        ebonnett
        wrote on last edited by
        #3

        No, I have not. Where might I find that?

        aha_1980A 1 Reply Last reply
        0
        • E ebonnett

          No, I have not. Where might I find that?

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by aha_1980
          #4

          @ebonnett

          (iirc) c:\users\ <user>\AppData\Roaming\QtProject

          but I cannot check right now :(

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Mitmischer
            wrote on last edited by
            #5

            Debugging with 4.6.1 does not seem to work, see also: https://bugreports.qt.io/browse/QTCREATORBUG-20403

            1 Reply Last reply
            1
            • E Offline
              E Offline
              ebonnett
              wrote on last edited by
              #6

              Really? So there's no answer to this question? Seems like Qt is unusable. Am I the ONLY person in the entire community that has a fully developed, almost ready to release app but can no longer debug android? Seriously. I have uninstalled Qt Creator and the framework many times. I've removed the NDK, SDK, Windows SDK, damn near everything I can think of. I've installed fresh and this thing STILL can't find the debugger? This is bad. Really bad. I can't resolve the problems I'm experiencing if I can't debug. I'm starting to think it was a really bad idea to use Qt. Meanwhile, I'm completely screwed. Very frustrating.

              1 Reply Last reply
              1
              • E Offline
                E Offline
                ebonnett
                wrote on last edited by
                #7

                I figured this particular problem out. I went into Android Studio and played around. Ultimately it told me that it too couldn't find the C++ debugger and asked me if I wanted to intall it. I did and that solved that problem. Now I need to fix the issue where it won't connect to the port. Still can't debug on my S9 or Nexus 6P.

                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