Qt 5 on Android: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=Qt 5 for Android project=
h1. Qt 5 for Android project


The Qt 5 for Android project is based on [http://necessitas.kde.org/ Necessitas] ''[necessitas.kde.org]'' , the port of Qt 4 to Android. This is an overview page to organize the development of the port.
The Qt 5 for Android project is based on "Necessitas":http://necessitas.kde.org/ , the port of Qt 4 to Android. This is an overview page to organize the development of the port.


The Qt 5 for Android is already released in Qt 5 and instructions on how to obtain the necessary packages as well as view documentation and run examples, visit the Qt 5 documentation page [http://doc.qt.io Qt 5 Documentation] ''[qt.io]''
The Qt 5 for Android is already released in Qt 5 and instructions on how to obtain the necessary packages as well as view documentation and run examples, visit the Qt 5 documentation page "Qt 5 Documentation":http://doc.qt.io


==Overview==
== Overview ==


Qt 5 for Android consists of several parts:
Qt 5 for Android consists of several parts:


1. A platform plugin in $QTDIR/src/plugins/platforms/android<br /> 2. Java code which is built into a distributable .jar file containing binding code in $QTDIR/src/android/jar<br /> 3. Java code which is used as a template for new projects by the Qt Creator plugin in $QTDIR/src/android/java<br /> 4. A mkspec in $QTDIR/mkspecs/android-g++<br /> 5. Some build files in $QTDIR/android<br /> 6. A plugin to Qt Creator which generates the necessary Java wrapper, manifests, build instructions, etc to develop and deploy on Android. This is in $QTCREATOR/src/plugins/android.
1. A platform plugin in $QTDIR/src/plugins/platforms/android<br />2. Java code which is built into a distributable .jar file containing binding code in $QTDIR/src/android/jar<br />3. Java code which is used as a template for new projects by the Qt Creator plugin in $QTDIR/src/android/java<br />4. A mkspec in $QTDIR/mkspecs/android-g++<br />5. Some build files in $QTDIR/android<br />6. A plugin to Qt Creator which generates the necessary Java wrapper, manifests, build instructions, etc to develop and deploy on Android. This is in $QTCREATOR/src/plugins/android.


==Contact==
== Contact ==


If you have questions or suggestions to anyone working on this project, the easiest would be contact us on <span class="caps">IRC</span>. We are on #necessitas on the Freenode <span class="caps">IRC</span> servers.
If you have questions or suggestions to anyone working on this project, the easiest would be contact us on IRC. We are on #necessitas on the Freenode IRC servers.


We also have the project mailing list: http://lists.qt.io/mailman/listinfo/android-development
We also have the project mailing list: http://lists.qt.io/mailman/listinfo/android-development


==Repositories==
== Repositories ==


The project is currently in the regular Qt repositories in codereview.qt.io. Clone the repositories and check out the “dev” branch to try it out.
The project is currently in the regular Qt repositories in codereview.qt.io. Clone the repositories and check out the &quot;dev&amp;quot; branch to try it out.


==Build instructions==
== Build instructions ==


[[Qt5ForAndroidBuilding|Click here for detailed build instructions]]
[[Qt5ForAndroidBuilding | Click here for detailed build instructions]]


==Current status of modules==
== Current status of modules ==


For the first experimental release of Qt 5 for Android, we aim to have support for the modules in qtbase.git, qtdeclarative.git, Qt Sensors and Qt Multimedia. Here is the current status of the modules.
For the first experimental release of Qt 5 for Android, we aim to have support for the modules in qtbase.git, qtdeclarative.git, Qt Sensors and Qt Multimedia. Here is the current status of the modules.


[[Qt5ForAndroidQtBase|Status of qtbase.git]] (Qt Core, Qt <span class="caps">GUI</span>, Qt Network, Qt <span class="caps">SQL</span>, Qt Test, Qt Widgets, Qt Concurrent, Qt D-Bus, Qt OpenGL, Qt Print Support, Qt <span class="caps">XML</span>)<br />[[Qt5ForAndroidQtDeclarative|Status of qtdeclarative.git]] (Qt <span class="caps">QML</span>, Qt Quick)<br />[[Qt5ForAndroidQtSensors|Status of Qt Sensors]]<br />[[Qt5ForAndroidQtMultimedia|Status of Qt Multimedia]]
[[Qt5ForAndroidQtBase | Status of qtbase.git]] (Qt Core, Qt GUI, Qt Network, Qt SQL, Qt Test, Qt Widgets, Qt Concurrent, Qt D-Bus, Qt OpenGL, Qt Print Support, Qt XML)<br />[[Qt5ForAndroidQtDeclarative | Status of qtdeclarative.git]] (Qt QML, Qt Quick)<br />[[Qt5ForAndroidQtSensors | Status of Qt Sensors]]<br />[[Qt5ForAndroidQtMultimedia | Status of Qt Multimedia]]


==Current status of device testing==
== Current status of device testing ==


We are compiling a [[Qt5ForAndroidSupportedDevices|list of devices]] where Qt for Android has been tested. If you are testing on a device which is not yet in the list (or if you have additional information), please update the page to include your experiences. There is also a [[Android Test Devices|list of test devices in the Oslo office]].
We are compiling a [[Qt5ForAndroidSupportedDevices | list of devices]] where Qt for Android has been tested. If you are testing on a device which is not yet in the list (or if you have additional information), please update the page to include your experiences. There is also a [[Android_Test_Devices | list of test devices in the Oslo office]].


==Current status of autotests==
== Current status of autotests ==


We are currently running autotests manually on devices to monitor progress. Automation is under investigation as well. Take a look at [[Qt5ForAndroidAutotests|the current results]].
We are currently running autotests manually on devices to monitor progress. Automation is under investigation as well. Take a look at [[Qt5ForAndroidAutotests | the current results]].


==Bugs and tasks==
== Bugs and tasks ==


[https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&requestId=13872 Remaining issues for Qt for Android] ''[bugreports.qt.io]''<br />[https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&requestId=13871 Remaining issues for Android plugin in Qt Creator] ''[bugreports.qt.io]''
&quot;Remaining issues for Qt for Android&amp;quot;:https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&amp;amp;requestId=13872<br />&quot;Remaining issues for Android plugin in Qt Creator&amp;quot;:https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&amp;amp;requestId=13871
 
These are used to monitor the progress of the project. Bugs and missing features can be filed in https//bugreports.qt.io by setting component “QtPorts: Android” and “Android Support” in Qt and Qt Creator products respectively.

Revision as of 14:09, 23 February 2015

h1. Qt 5 for Android project

The Qt 5 for Android project is based on "Necessitas&quot;:http://necessitas.kde.org/ , the port of Qt 4 to Android. This is an overview page to organize the development of the port.

The Qt 5 for Android is already released in Qt 5 and instructions on how to obtain the necessary packages as well as view documentation and run examples, visit the Qt 5 documentation page "Qt 5 Documentation&quot;:http://doc.qt.io

Overview

Qt 5 for Android consists of several parts:

1. A platform plugin in $QTDIR/src/plugins/platforms/android
2. Java code which is built into a distributable .jar file containing binding code in $QTDIR/src/android/jar
3. Java code which is used as a template for new projects by the Qt Creator plugin in $QTDIR/src/android/java
4. A mkspec in $QTDIR/mkspecs/android-g++
5. Some build files in $QTDIR/android
6. A plugin to Qt Creator which generates the necessary Java wrapper, manifests, build instructions, etc to develop and deploy on Android. This is in $QTCREATOR/src/plugins/android.

Contact

If you have questions or suggestions to anyone working on this project, the easiest would be contact us on IRC. We are on #necessitas on the Freenode IRC servers.

We also have the project mailing list: http://lists.qt.io/mailman/listinfo/android-development

Repositories

The project is currently in the regular Qt repositories in codereview.qt.io. Clone the repositories and check out the "dev&quot; branch to try it out.

Build instructions

Click here for detailed build instructions

Current status of modules

For the first experimental release of Qt 5 for Android, we aim to have support for the modules in qtbase.git, qtdeclarative.git, Qt Sensors and Qt Multimedia. Here is the current status of the modules.

Status of qtbase.git (Qt Core, Qt GUI, Qt Network, Qt SQL, Qt Test, Qt Widgets, Qt Concurrent, Qt D-Bus, Qt OpenGL, Qt Print Support, Qt XML)
Status of qtdeclarative.git (Qt QML, Qt Quick)
Status of Qt Sensors
Status of Qt Multimedia

Current status of device testing

We are compiling a list of devices where Qt for Android has been tested. If you are testing on a device which is not yet in the list (or if you have additional information), please update the page to include your experiences. There is also a list of test devices in the Oslo office.

Current status of autotests

We are currently running autotests manually on devices to monitor progress. Automation is under investigation as well. Take a look at the current results.

Bugs and tasks

"Remaining issues for Qt for Android&quot;:https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&amp;requestId=13872
"Remaining issues for Android plugin in Qt Creator&quot;:https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&amp;requestId=13871