TTOW0610 Mobile Application Development
Robert Vasek
Peter Seliga
Content
Qt & Android
Qt is a cross-platform application development framework for desktop, embedded and mobile.
Framework written in C++� -MOC (Meta-Object Compiler)
Qt 5 on Android v4.1 (API level 16) or later
Signals & Slots
QML
Qt Meta Language or Qt Modeling Language
Developed within the Qt framework in Qt Quick kit
Markup language for user interfaces� - composed of tags called elements
JSON/HTML/CSS-like & supports inline JavaScript
Deployment
(precompiled version can be found at www.qt.io)
Building Qt from source - prerequisites
Building Qt from source
More info at https://wiki.qt.io/Android
$ git clone git://code.qt.io/qt/qt5.git
$ cd qt5; ./init-repository
$ ./configure -xplatform android-g++ -android-arch x86 \� -android-toolchain-version 4.9 \� -android-ndk-host linux-x86_64 -android-ndk … -android-sdk …
$ make && sudo make install
Deploying Qt to Android
ActivityManager
Why
Capabilities
Pros and cons of Qt on Android
Thank you for your attention