qt:qtandroidextras.git
4 years agoAdd examplesinstallpath in qdocconf v5.2.0 v5.2.0-rc1
Christian Strømme [Mon, 18 Nov 2013 18:21:40 +0000 (19:21 +0100)]
Add examplesinstallpath in qdocconf

If we don't add examplesinstallpath the examples won't be shown in
Qt Creator's welcome page.

Change-Id: Ia1c0015262e4dd3c6de83d7d73231e3e3e0cf027
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
4 years agoFix license headers in example
Eskil Abrahamsen Blomfeldt [Wed, 20 Nov 2013 10:02:37 +0000 (11:02 +0100)]
Fix license headers in example

It's a part of QtAndroidExtras not QtWinExtras.

Change-Id: I095d39e69dcd1c5362aa50a9e71a29e024fdab38
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoUpdate AndroidManifest.xml in example
Eskil Abrahamsen Blomfeldt [Tue, 12 Nov 2013 07:58:58 +0000 (08:58 +0100)]
Update AndroidManifest.xml in example

This no longer compiled because it was an old version. I guess we
have to be very careful when updating the structure of
AndroidManifest.xml after the release.

Task-number: QTBUG-34763
Change-Id: I32dfe11c83eff42a50b54327fab6d4c5d05b0829
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoFix note about jni references in documentation.
Christian Strømme [Tue, 5 Nov 2013 14:12:56 +0000 (15:12 +0100)]
Fix note about jni references in documentation.

QAndroidJniObject does not manage user created references regardless
of them being local or global refs.

Change-Id: I4afa8aba8d53f35d83d36758946d4b0f0cb5734a
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
4 years agoFix bug in code snippet.
Christian Strømme [Tue, 5 Nov 2013 13:53:55 +0000 (14:53 +0100)]
Fix bug in code snippet.

We should set a good example by deleting local refs. as soon as we are
done with, also in our own examples...

Change-Id: Ib9b25b226d79532c137e1c404625840ffd3cdf6e
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
4 years agoDoc: Updated url variable in qdocconf files.
Jerome Pasion [Tue, 5 Nov 2013 12:11:38 +0000 (13:11 +0100)]
Doc: Updated url variable in qdocconf files.

In 5.2, the HTML output is in a flatter structure and when they are
hosted in qt-project.org/doc, the documentation will be found at
http://qt-project.org/doc/qt-$QT_VER

The url variable is used by projects outside of Qt 5 which need
to link to Qt 5 documentation, such as Qt Creator.

Task-number: QTBUG-34584
Change-Id: If3b2ef1bec1805e5f6bf14c8468126e4160e0ed0
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
4 years agoUpdate documentation
Christian Strømme [Fri, 27 Sep 2013 14:25:02 +0000 (16:25 +0200)]
Update documentation

- The list of examples was not showing in the index page.
- Added information about types, method signatures, J2N and GC.
- Fixed some typos.

Change-Id: Ibe66ddbc0b1cac323563d629ca82bfe54d69dfc1
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
4 years agoRemoved JNI_OnLoad() as it's no longer needed. v5.2.0-beta1
Christian Strømme [Fri, 11 Oct 2013 13:09:42 +0000 (15:09 +0200)]
Removed JNI_OnLoad() as it's no longer needed.

Change-Id: I568576b0ec5d9c81a59dca21f43a8c7ce8f6bef1
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
4 years agoRename QJNIXxx classes to QAndroidJniXxx.
Christian Strømme [Tue, 8 Oct 2013 15:42:41 +0000 (17:42 +0200)]
Rename QJNIXxx classes to QAndroidJniXxx.

The old classes where not following the usual convention for acronyms
in class names.

Change-Id: I2fad72483c51ca95a2703d914d6a678c5f7cde98
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
4 years agoDoc: Adding "qtdoc" to the depends qdocconf variable.
Jerome Pasion [Tue, 8 Oct 2013 08:57:20 +0000 (10:57 +0200)]
Doc: Adding "qtdoc" to the depends qdocconf variable.

Needed in order to link to the main Qt 5.2 documentation.

Change-Id: I451f4d60f165befe179cfe58904876c42211cfee
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
4 years agoTest the generated cmake files.
Stephen Kelly [Tue, 1 Oct 2013 14:42:59 +0000 (16:42 +0200)]
Test the generated cmake files.

Change-Id: I4eafa7366a36d8444392b476d6262e54d67893bf
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoUpdate the git-archive export options
Sergio Ahumada [Fri, 27 Sep 2013 14:18:15 +0000 (16:18 +0200)]
Update the git-archive export options

The .gitattributes, .gitignore, .commit-template files do not need to be
present in packaged sources, as they are for people using the Git
repository.  People who download tarballs usually don't reimport into
Git -- they should just download the actual repositories.

Meanwhile, the .tag file is quite useful. Instead of making Git extract
to the useless SHA-1 of the "$Id$\n" string, ask git-archive to store
the SHA-1 of the commit being packaged.

Change-Id: I4ad0ed39c84555447161511f257f7768d38d2173
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoDoc: Enable running 'make docs' on non-android platforms
Topi Reinio [Wed, 25 Sep 2013 10:28:41 +0000 (12:28 +0200)]
Doc: Enable running 'make docs' on non-android platforms

Change-Id: I26389a48912475598946cdfa839d09432a6c364a
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoRemove JNI_OnLoad() from the example. v5.2.0-alpha1
Christian Strømme [Wed, 25 Sep 2013 10:06:03 +0000 (12:06 +0200)]
Remove JNI_OnLoad() from the example.

We use the class loader to get the files

Change-Id: I5268dbda5f17c1dfc7332fec35e6da033090605f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
4 years agoAdd missing files for example
Eskil Abrahamsen Blomfeldt [Wed, 25 Sep 2013 10:25:45 +0000 (12:25 +0200)]
Add missing files for example

I forgot to commit the icon.png and the documentation file

Change-Id: Id874a7441ba4ea2591a46cca59bc1320ad35e869
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoCheck for the qml module before building the notification example.
Christian Strømme [Wed, 25 Sep 2013 12:51:05 +0000 (14:51 +0200)]
Check for the qml module before building the notification example.

Change-Id: I5cfcc26b196fe1f5d8d9bd647cad652a3eec5dae
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
4 years agoFix infinite recursion in QJNIObject::getStaticField<jfloat>()
Eskil Abrahamsen Blomfeldt [Mon, 23 Sep 2013 18:16:23 +0000 (20:16 +0200)]
Fix infinite recursion in QJNIObject::getStaticField<jfloat>()

Change-Id: I4e22a43bb689f46c5fb294da9d55671a28cab4cf
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
4 years agoAdded QJNIObject auto test.
Yoann Lopes [Mon, 23 Sep 2013 19:48:07 +0000 (21:48 +0200)]
Added QJNIObject auto test.

Change-Id: If1a72842165f20b84589d61885e5dc1902a8d171
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoAdded QJNIEnvironment auto test.
Yoann Lopes [Mon, 23 Sep 2013 18:06:52 +0000 (20:06 +0200)]
Added QJNIEnvironment auto test.

Change-Id: I19aa638668ac8b4f263047d1e636d86abb73b91e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
4 years agoImprove documentation.
Christian Strømme [Mon, 23 Sep 2013 14:13:42 +0000 (16:13 +0200)]
Improve documentation.

Change-Id: Ia3999f853aa9b0ca1678f322419ddd200cae4b1a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
4 years agoAdd example of JNI API
Eskil Abrahamsen Blomfeldt [Mon, 23 Sep 2013 13:40:40 +0000 (15:40 +0200)]
Add example of JNI API

This example adds a custom class to the project and calls into
it with JNI to set a notification message in the status area.

Change-Id: I74d7a87c0511b98608422788c1c282e9af57c074
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoUpdate Licenses from qtbase#stable
Sergio Ahumada [Mon, 23 Sep 2013 12:49:43 +0000 (14:49 +0200)]
Update Licenses from qtbase#stable

Change-Id: Ia8b043f2d10b621eaa725a82da91adfd0779dc11
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
4 years agoAdd guard to disable other platforms then Android
Christian Strømme [Mon, 23 Sep 2013 11:21:52 +0000 (13:21 +0200)]
Add guard to disable other platforms then Android

Change-Id: If3efdd6e24dfc12b0baade98fd8d7538c5ff94b6
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
4 years agoAdd Qt JNI API.
Christian Strømme [Thu, 19 Sep 2013 10:33:56 +0000 (12:33 +0200)]
Add Qt JNI API.

The QJNI API's provide an easy way to communicate with Java API's from
C++. The API consists of two classes, QJNIObject which acts as a wrapper
around Java classes and QJNIEnvironment which attaches the current
thread to the Java VM and exposes the Java Native Interface.

Change-Id: I9cdc395249de74f940b75eab9f2bd32347d5d432
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
4 years agoInitial empty repository
Sergio Ahumada [Thu, 19 Sep 2013 08:24:37 +0000 (10:24 +0200)]
Initial empty repository