Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25470

Debugging of CMake-based application on android crashes.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.14.0, Qt Creator 4.15.0-beta1
    • Fix Version/s: None
    • Component/s: Android Support, Debugger
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      I've cross-compiled QtPositioning for Android. I'm able to deploy and run examples on my phone.

      However when I try to debug any CMake-based application, it crashes immediately after deployment.

      A qmake-based application does not crash, but the debugging does not work.

      My phone is Samsung A51 with Android 10.

      Attached are the compile output and application output for CMake-based application.

      The global debugger log is empty, as debugger has not really started.

       

      Upd: In qmake build the QML debugging works, but C++ debugging does not.

        Attachments

        1. application_output.txt
          0.6 kB
        2. compile_output.txt
          24 kB
        3. qmake_application_output.txt
          68 kB
        4. qmake_compile_output.txt
          26 kB
        5. qmake_debugger_log.txt
          30 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            portale Alessandro Portale
            Reporter:
            ivan.solovev Ivan Solovev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes