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. Debugging a Qt 5.14 app via USB on an Android 12 tablet

Debugging a Qt 5.14 app via USB on an Android 12 tablet

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 267 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.
  • M Offline
    M Offline
    Michele Bolognini
    wrote on last edited by
    #1

    I have a setup with Qt 5.14 and need to deploy an app to a tablet with Android 12. The app build and runs, but I am unable to debug it over USB or over WiFi: if I try to do that, the debugger crashes right after attaching with error

    "The inferior stopped because it received a signal from the operating system.
    Signal name : SIGSEGV
    Signal meaning : Segmentation fault",

    pointing to a line of assembly code, before it even enters the code of my app:
    73755ba6-0aaf-4eda-a058-bb9846bec2c7-image.png

    Additionally:

    1. This does not happen if I deploy to a tablet with Android 11. Then the debugger works just fine. I am using NDK 21;
    2. This happens with every app (the screenshot comes from a bare-bones Qt Quick app).

    Am I running into some compatibility issue with different versions in my toolchain?

    C 1 Reply Last reply
    0
    • M Michele Bolognini

      I have a setup with Qt 5.14 and need to deploy an app to a tablet with Android 12. The app build and runs, but I am unable to debug it over USB or over WiFi: if I try to do that, the debugger crashes right after attaching with error

      "The inferior stopped because it received a signal from the operating system.
      Signal name : SIGSEGV
      Signal meaning : Segmentation fault",

      pointing to a line of assembly code, before it even enters the code of my app:
      73755ba6-0aaf-4eda-a058-bb9846bec2c7-image.png

      Additionally:

      1. This does not happen if I deploy to a tablet with Android 11. Then the debugger works just fine. I am using NDK 21;
      2. This happens with every app (the screenshot comes from a bare-bones Qt Quick app).

      Am I running into some compatibility issue with different versions in my toolchain?

      C Offline
      C Offline
      CodesInChaoss
      wrote on last edited by
      #2

      any solution?

      1 Reply Last reply
      0

      • Login

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