.. | ||
android-sources | ||
dialog | ||
imagePicker | ||
info | ||
notification | ||
res | ||
statusbar | ||
theme | ||
toast | ||
androidnativeexample.pro | ||
androidnativeexample.pro.user | ||
Components.qml | ||
debugwrapper.cpp | ||
debugwrapper.h | ||
deployment.pri | ||
main.cpp | ||
main.qml | ||
qml.qrc | ||
qpm.json | ||
README.md |
AndroidNative Example Program
Prerequisites
- Qt Android SDK >= 5.6
- Android SDK
Check this article for how to setup Qt and Android SDK:
Getting Started with Qt for Android
Build Instruction
- Run
qpm install
to get required packages - Open androidnativeexample.pro by Qt Creator
- Press the "Projects" tab. Make sure the "Android for xxx" kit has been selected
- Plug a Android device to your computer
- Press "Build" -> "Run"
- The program will be deployed to your device. It is so easy!