Debugging a Qt 5.14 app via USB on an Android 12 tablet
-
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:
Additionally:
- This does not happen if I deploy to a tablet with Android 11. Then the debugger works just fine. I am using NDK 21;
- 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?
-
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:
Additionally:
- This does not happen if I deploy to a tablet with Android 11. Then the debugger works just fine. I am using NDK 21;
- 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?
any solution?