问题
There are many tutorials how to build an application with Qt for Android. So I do it in these steps:
- Installed Android SDK, NDK, JDK and Apache Ant
- Installed Qt 5.2 for Android
- Created simple QML application.
- Configured virtual device from AVD Manager
- I tried to run it and it bringed up Emulator window with my app. OK, it is going as expected.
- Now I want to run it on real device. I have Samsung Galaxy Tab 2 10.1 P5100 so I enabled USB debug and connected it to PC.
But when I run the application, in "Select Android device" window I see only emulator, not real device.
So how can I run the application on real device?
回答1:
The easiest way is to follow the documentation http://doc-snapshot.qt-project.org/qtcreator-2.8/creator-deploying-android.html
Using Ministro to manage having apk to deploy on real device is especialy a good point.
Hope it helps.
来源:https://stackoverflow.com/questions/20716012/deploy-qt-5-qml-application-to-a-real-android-device