| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove references of resultReceiver parameter from a new
QtAndroid::startActivity() overload, as it has no such parameter.
Add a few dummy typedefs specific to documentation builds, to avoid
the Clang-parser from tripping over undefined types on non-Android
platforms.
Fixes: QTBUG-79813
Change-Id: I6972ae7d5b8d4ca7f338af8958ccf3cf43dce71c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\
| |
| |
| | |
Change-Id: I6796a88dae9e17bafc7696abecb4bba271665241
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Java function putExtra() returns an object, so it should be called
with callObjectMethod() instead of callMethod().
Fixes: QTBUG-77101
Change-Id: Id6bb402c05b119257fb331db1eb4e016a94c0d52
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-74391
Change-Id: Ie2b5f498fa6f4effc27f07f3aab0061fa77e94c9
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current way of handling activity results by inheriting from QAndroidActivityResultReceiver
is very un-Qt. This patch allows handling activity results by passing a std::function/lambda
expression to the startActivity function.
Change-Id: Ie9dc91cd02dfcdb16a9ad0cb7858387e75159815
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
The function simply calls the other startActivity with
QAndroidIntent::handle, anyone could do that from the user code, but i
think it makes sense the library to allow you doing this directly given
you're supposed to pass an intent and we have a class that represents an
intent
Change-Id: I673cb410b07ed4fd1408a971696a3b5ae3dfd063
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In file included from qtbase/include/QtCore/5.12.0/QtCore/private/qjni_p.h:1:
qtbase/include/QtCore/5.12.0/QtCore/private/../../../../../src/corelib/kernel/qjni_p.h:68:1: warning:
'QJNIEnvironmentPrivate' defined as a class here but previously declared as a struct [-Wmismatched-tags]
class Q_CORE_EXPORT QJNIEnvironmentPrivate
^
jni/qandroidjnienvironment.h:50:1: note: did you mean class here?
struct QJNIEnvironmentPrivate;
^~~~~~
class
Change-Id: I0df1a4350c50ca920ad7f13978a62913a9702a15
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I8e9d534e8752466c57d79cbb136c4dec01c8695e
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
The use of QT_INSTALL_HEADERS caused documentation build failures
in certain configurations. Use an alternative method to pass the
required include paths to QDoc.
Task-number: QTBUG-67925
Change-Id: Ia8c25b0cfb950f43ec60a3768cd192588a5e5617
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|\
| |
| |
| | |
Change-Id: I88b7094f8b625c14f2524576e73cf7fc3f807a1d
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-70284
Change-Id: Ic2a0613f3f57661e8c6b4665cefbd6dc73fd37f3
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
QAndroidJniEnvironment::findClass is a convenient method needed to find
classes in all class loaders.
[ChangeLog][QtAndroid]
QAndroidJniEnvironment::findClass convenient method to find classes in
all class loaders.
Change-Id: I23c9e8a02aa7ca02cf707be5548ce1f8bb555dd7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
| |
Change-Id: Id585a4f8fb21eb263a601857b47e3fcfcb2c7f4a
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QDoc in Qt 5.11 uses Clang to parse the C++ source for documentation
comments. Unlike the old parser, Clang requires a module header to
be present as well as correct include paths to generate the docs
correctly. However, these are available from the build system only
when building for Android, not when generating the documentation
on a system with no Android-related assets.
To fix this, create a 'dummy' module header specific to doc builds,
add required relative include paths in .qdocconf, and fix the
documentation \fn commands to work with Clang.
Change-Id: Ia3d4e50ff8756cd8c8aae9cd3c3d1492eb7db328
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|\
| |
| |
| | |
Change-Id: I614aee68dea8253732b72e4534750897583aab45
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
constructor exits
If we call QtAndroidPrivate::setOnBindListener before QAndroidService constructor exits the virtual table
is not set and m_service->onBind will call the wrong method.
Task-number: QTBUG-66222
Change-Id: I3d057e33dd36a317c5605d7eb5d6892827ad7b13
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Until now the users were forced to subclass QAndroidService in order to
provide the binder. Now is much easier, the user just pass a lambda in
the QAndroidService constructor e.g.
QAndroidService app(argc, argv, [](const QAndroidIntent &){ return new
MyBinder{};});
Change-Id: I97608f806b311ad3c853a86cde132aea8352349b
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I1f8c55c8647779c972d7d152ecd0c56bdf66a586
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I67661e95e931fd7c6992f8f1769c50472c5e5f15
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Icfe3f6a712a8e457dd695b5f0f982760eb78f4f1
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia4fbd4718a698e0d4a0835869e51852c12b1442d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This removes the pre-dexed JAR files activated by the absence of the
bundled_jar_file CONFIG option, as versions of Android >= 5 no longer
support this deployment mechanism.
Now, the "bundled" JARs simply become normal JARs containing class
files, and are neither activated by a bundled_jar_file CONFIG entry nor
do they have a -bundled suffix in the file's base name.
Task-number: QTBUG-62995
Change-Id: Id370f03de61463bb3a8312d357374cf5c89fca69
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-50759
Change-Id: Ie7fef30049e6be28c3fba2eb5b54b56552df8c9d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are the building blocks for higher level APIs such as Qt Remote
Objects.
[ChangeLog][Android] Added low level APIs for Android Service & Binder.
Change-Id: I320214d310a398541bbde985ecf67bf6101c0b67
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ib9d88dee71459d61d12bb975e24e8e59e687434d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|/
|
|
|
|
| |
Change-Id: If78fe57fd5ceccad541fb2b3d7a92eefcda06057
Task-number: QTBUG-59200
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
| |
[ChangeLog][QtAndroidExtras][QtAndroid] Added QtAndroid::androidContext()
Task-number: QTBUG-55102
Change-Id: I95122c8939e227acffb13ea9ba1a338a9d05595a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Idbbad4585c05ea7c42c5d60e8b74ec20ca3d8737
|
| |
| |
| |
| |
| |
| |
| |
| | |
Should be reverted when https://github.com/android-ndk/ndk/issues/34 is fixed
Change-Id: Idcc951ff432dbadd57a09851bcb7486b019b3426
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I324ee61f7627de76bcc3765fe18fa009166fe5b5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Examples in binary packages now directly match the install path.
Change-Id: I7a98d68cbc0623e86bb9dcfb3cadd1adc9631ebf
Task-number: QTBUG-52953
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: I3d3f2f84808ca29a056783873dd78094a53c2875
|
| |
| |
| |
| |
| |
| |
| |
| | |
Subjects a *.png file that matched grep -law "sRGB" to:
pngcrush -ow -brute -rem allb -reduce -force
Change-Id: Ief67f8ca4dfc44655af62e70c10cb623acf83642
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added explicit where it was missing. This is not a source-
incompatible change, because code that breaks by this is
a bug. Let's not have this sitting around in an LTS.
This change only affects C++11.
Change-Id: I01ef7f6c26c8087e8516c9d66067060a6ed7c020
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By making the destructor (usually the first non-inline, non-pure,
virtual function, and therefore the trigger for most compilers to
emit the vtable and type_info structures for the class in that TU)
out-of-line, vtables and, more importantly, type_info strucures for
the class are pinned to a single TU. This prevents false negative
dynamic_cast and catch evaluation.
Since it is already exported, users of the class are unaffected by
the change, but since it's public API, and the dtors may have been
de-virtualized and inlined into application code, we need to avoid
adding code to the out-of-line dtor until Qt 6.
Task-number: QTBUG-45582
Change-Id: I60273f7352be0d5a45a94828647d61f0ec9f1d79
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... or equivalent.
QtBase 5.6 headers already compile that way, so let the other
modules follow suit.
Change-Id: I26201944b21d83f78c9e1c75cbd55334cd16359f
Task-number: QTBUG-45291
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|\|
| |
| |
| | |
Change-Id: If08e856e0de436395382ef141b55f8d1e984535f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
this fixes static builds by ensuring that all dependencies are exported.
no actual effect in this module.
Change-Id: Ie4e6968b9a10fd20895393d4f7f5b490c7e8119d
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
This function is useful to hide a sticky splash screen.
Change-Id: I724a47a8cb73d3288916ed77b760217520d6b5ef
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Currently accessing the service requires use of private APIs.
Change-Id: I480657978e8318f98f5ee24bd4587c467110677a
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I4497150a68daf85260a55a6539f5ed178b55a725
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The examplesinstallpath variable in .qdocconf files defines the path
under QT_INSTALL_EXAMPLES where examples are found.
To match the way examples are packaged in Qt 5.6, prefix the
install path with the repository name.
Task-number: QTBUG-48736
Change-Id: I4bc22773d7528fa6ffbb128b70c6708eceffcced
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add two function to allow the users to easily run (a)synchronously Runnables from any thread
directly to Andoroid UI thread. These functions are useful to create java controls and to access
their methods, which must done on Android UI thread.
Change-Id: Iec5437321e6136cc90268cc7ecf091f82fc4cdd3
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see
http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/
Updated license headers to use new LGPL header instead of LGPL21 one
(in those files which will be under LGPL v3)
Change-Id: I8bec15fbd91b483adb0f9e24878a701e9fb0061d
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
|/
|
|
|
|
|
|
|
| |
This makes it more convenient to transfer the ownership of the local
JNI reference to QAndroidJniObject. Before this change user would need
to manually delete the local ref. after creating a QAndroidJniObject.
Change-Id: Iebae7829773d1b783dc0982de92c51b4c6b0abd1
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-44114
Change-Id: I0a43a2da13fdcd3d18caf87628a7f13f4685ecc6
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
|
|
|
|
|
|
|
| |
This makes it clear that the functions are going away.
Change-Id: Ia93d3be4b70541bdf3bf800ebb85ad88d44b475d
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
this change amends 4eb51def
Change-Id: I4bcbee03ba4ba44ad05db0b7bd38c208ff9d4e5a
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The templated comparison overloads could cause build errors due to
overload resolution being ambiguous; since implicit conversion from jni
object types to QAndroidJniObject is allowed the operator could end up
competing with built in types. To avoid that we get this ambiguity both
arguments of the operators will now require a QAndroidJniObject, this
effectively disables the templated operators unless called directly.
Since the templated operator overloads does not export any symbols and
are still callable, we retain both SC* and BC.
*Code that is written after this change, that would otherwise be affected
by this bug, will of course not be able to move back to an older version.
Task-number: QTBUG-43453
Change-Id: Icc774c432d078aeb7eb80ccbd0c25196af5f5a51
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I8fc57754926b441c8d6cb81e25ea09a5eb3029a5
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|