0% found this document useful (0 votes)
43 views

QT On Android: Using The Necessitas Project

Necessitas provides a full SDK for developing Qt applications on Android, including QtCreator integration for deploying and debugging apps. It supports building Qt apps with widgets, QML, and location/sensor APIs. While some Qt functionality is missing, like multimedia and QML Components, Necessitas allows accessing Android APIs through JNI. Apps can be published to app stores and will prompt users to install the Ministro client to download required Qt libraries. The future plans include merging Necessitas into Qt Project and adding support for Qt5.

Uploaded by

yamirounin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

QT On Android: Using The Necessitas Project

Necessitas provides a full SDK for developing Qt applications on Android, including QtCreator integration for deploying and debugging apps. It supports building Qt apps with widgets, QML, and location/sensor APIs. While some Qt functionality is missing, like multimedia and QML Components, Necessitas allows accessing Android APIs through JNI. Apps can be published to app stores and will prompt users to install the Ministro client to download required Qt libraries. The future plans include merging Necessitas into Qt Project and adding support for Qt5.

Uploaded by

yamirounin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Qt on Android

Using the Necessitas Project


Necessitas
KDE Community Project
Provides full SDK:
QtCreator integration for deploying/debugging on
Android devices and emulators
Toolchain for armv5/armv7
Supports Linux, Windows and OSX
Provides Ministro client application for
managing Qt shared libraries. (Optional)
More infomation at http://necessitas.kde.org/
Ministro
Acts like a package manager for Qt libraries
on Android devices
In many app stores, including Google Play
and Amazon Appstore.
Available directly from Necessitas
Not required if you build Qt yourself and
bundle it with your app
Easy to use, but can appear odd to end
users
What's Supported
Qt 4.8
Widgets
QML
QtLocation
QtSensors
QtWebKit
OpenGL
Java Native Interface
Debugging on device
What's Missing
Most of QtMobility, including multimedia
QML Components
Fully skinned/functional widgets
Qt5 is planned, but not currently included.
Many Android-specific UI elements
Java Native Interface (JNI)
Allows accessing Android Java APIs
Part of the original Android SDK/NDK
Basis of how parts of Necessitas works
With JNI, you can implement things like audio
playback, NFC and others. Many uses will be
usurped by further QtMobility support.
Widget Demo
QLineEdit
QSlider
QPushButton
QMenuBar/QAction
QML Demo
End User Experience
Apps can be published in app stores
Will automatically depend on Ministro
Users will be prompted to install Ministro
Qt libraries will be downloaded as needed.
Apps with bundled Qt won't need Ministro
Future of Necessitas
Being merged into the Qt Project base
Planned to be a "Tier 1" platform
Qt5 support is expected next year
Looking for help

You might also like