configure: Move adding android style to relevant context

Try to group setting the qmake styles var for Android together
with other similar statements. Also use the same syntax
for the condition as for the related XPLATFORM_MINGW test.

Change-Id: I47f57c9317874e6c68ffc441cd4a1d2e13e21437
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Enablers for input methods on Android

Adding QInputMethod::inputRectangle()/setInputRectangle().
This changes the initial android implementation based on feedback on
https://codereview.qt-project.org/#change,46794

Known bugs: inputRectangle() not implemented for graphics view
items; inputItemTransform() implementation was already missing.

Change-Id: Ife1e02f591fa3a43c43fbe5ae06263495ad4c26f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Android: Code cleanup

Remove commented-out code

Change-Id: I57b5a20d00fc1c2f4ed7ab935f2bc201129ba5bf
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Style fixes

Change-Id: I3d667478ebdfa4319195f6cdabb777344ae5d84d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Android: Revert accidental changes

These code style changes to cross-platform code are not necessary

Change-Id: I4aca61dbdde63379280fd202eea74823d7f270b7
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Android: code style fixes

Change-Id: If209e5ef3a253541bb7cb01bb9be8de2b53c6852
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Use Qt's internal CPU feature detector for Android.

Change-Id: I16b43c9219f8a8904da1390f82c2946d32fa8713
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Android: revert accidental change

This code was deleted in the dev branch, and should not have been
re-added in the android branch

Change-Id: Idc42395c8f12ec77a14ff639ec69b5d66d42acb5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Fixed "format not a string literal and no format arguments" error.

See gcc's -Wformat-security option.

Change-Id: I4a64a33f8f21cb550f40c674cdf09dbe84457fd6
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Remove commented-out code

Change-Id: I60a94120bfbb81ceefe7e2982e3a729ac235da8e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Android: whitespace fixes

Change-Id: Ic51f9c1072c95292315f91a7d4b7b50910600325
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Fixed potential conflicting declaration of mkdtemp.

Call ours q_mkdtemp instead to prevent conflict with the one that might
be declared in stdlib.h.

Change-Id: Ie888a1ad91ff2a4ab66e58ad2fe67999a0af7e63
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Android plugin build system cleanups

Task QTBUG-29859 created for the non-standard destination directory,
since that needs a fix somewhere else.

Change-Id: I2261c75c4e00af53d833b438f808243778c48963
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Fix warning message for older Android NDKs

Language fix and use the warning() function insteade of making it
a generic message.

Change-Id: Id54f56add5206f9a0777baad4b2eeab7e20ce32b
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Android style should not be a public class

Change-Id: Iea8e723dd0f753849e08fe051cb6d38773e85d8e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Android: this file does not seem to be used anywhere

Change-Id: Ie06d222c75e628c527f98eb0124e6f719bc58b94
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Android: remove reference to removed file

Change-Id: Id959d7972723f69c8f072907bd4c037d7d5b65dd
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Code style fix in Android mkspec

We use equals since we want to match the entire string, and remove
spaces to fit the convention for combining conditions.

Change-Id: I72513179c900d8cda0e7ab02574be22cc568164a
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Android: revert shared memory and system semaphore

According to BogDan, the current implementation does not work. We
revert to the dummy implementation for now, and will try to get a
working implementation for a later release.

Change-Id: I8cc5cbc4f5e2e966d2c3b2f8d9fa3cb44f4631c1
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reduce install target path for Android apps

If the architecture is invalid, then this will cause errors
elsewhere, so we can just use the variable directly when
setting the path and save some code duplication.

Change-Id: Iaf6bc2148795f3d49bad34c27a49bb56e214afd5
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>