Ask Your Question
4

How to conduct debugging with an Android 12 tablet while using USB on a Qt 5.14 application?

asked 2023-06-10 02:13:25 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-10 02:22:02 +0000

ladyg gravatar image

To conduct debugging with an Android 12 tablet while using USB on a Qt 5.14 application, follow the steps below:

  1. Connect your Android 12 tablet to your computer with a USB cable.
  2. On your Android 12 tablet, go to Settings > Developer options > USB debugging and turn it on. If you don't see the Developer options, go to Settings > About phone or tablet and tap on Build number 7 times to enable it.
  3. Launch your Qt 5.14 application on your computer.
  4. Click on the "Projects" button on the left side of the Qt Creator window.
  5. From the "Build & Run" tab, select the "Run" configuration for your Qt 5.14 application.
  6. In the "Run" section, select "Android" as the target device and then click "Run" to build and deploy the application to your Android 12 tablet.
  7. Once the application is deployed, you can start debugging by setting breakpoints in your code and using the "Debug" menu options or the "Debug" toolbar buttons to start and stop debugging, inspect variables, and step through your code.

Note: Make sure to have the Android SDK and NDK installed on your computer, and a suitable Android toolchain in your Qt Creator project for debugging with an Android device.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-10 02:13:25 +0000

Seen: 17 times

Last updated: Jun 10 '23