summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidsdkmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Android: Add extension to the package name in SdkManagerArtem Sokolovskii2023-02-031-1/+3
| | | | | | | | | | - Add "Extension 4" if the name contain "-ext4" - Fix issue with two Tiramisu packages, now one of them conatin "Extension 4" in the end. Change-Id: Ib84807e9401acdef53c3dc1195dc3dc6ef34a57d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Android: Pass context object to lambda connectionsJarek Kobus2022-12-071-2/+2
| | | | | | | Remove some unneeded lambda () brackets. Change-Id: Id00e2bc736683bb844cc7ba936ac9d21aa204416 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Port from qAsConst() to std::as_const()Marc Mutz2022-10-071-1/+1
| | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: I88edd91395849574436299b8badda21bb93bea39 Reviewed-by: hjk <hjk@qt.io>
* Android: Convert to using Tr::trAlessandro Portale2022-10-071-6/+8
| | | | | Change-Id: Ie9110093101b0f49808b4da7b13ac3f47c3bb994 Reviewed-by: hjk <hjk@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Drop Qt5: Android, IOS & WASM: Get rid of QOverloadJarek Kobus2022-07-201-2/+2
| | | | | | | | | | Add a context object into some lambdas. Change-Id: I72631aeb36703f8f335f3819796fb52148f1b377 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Android: Align api and revision columns to the rightAssam Boudjelthia2021-10-151-1/+1
| | | | | Change-Id: Ib6e0d1e0b6922cfe5b90e320b25b2dce2dcaba14 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Move SDK Manager instal/uninstall checkbox to left of package nameAssam Boudjelthia2021-10-131-22/+25
| | | | | | | | | | This will makes it much easier selecting packages for install/uninstall operations, and makes more space for the package name by removing the operation column, as well as making changes more apparent by marking pending changes in bold font. Change-Id: Iec86c384195dd8c51fd8f00c1de56cdbb2bab62a Reviewed-by: hjk <hjk@qt.io>
* Android: Use qAsConst with non-const Qt containers in range-loopsAlessandro Portale2021-02-231-1/+1
| | | | | Change-Id: I1242a5c62a27b7b8f30bb7b43ff406eceb4135f7 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: update to latest SDK cmdline-toolsAssam Boudjelthia2020-07-011-1/+2
| | | | | | | Also, add the --sdk_root argument which is needed. Change-Id: I85f9444b35bb31aed9670bd322f2754061cf70c6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: warn about essential packages not foundAssam Boudjelthia2020-05-191-1/+11
| | | | | | Task-number: QTCREATORBUG-23829 Change-Id: Ic3ebd606bfde48b0f7152869a437f2f711ce1d03 Reviewed-by: hjk <hjk@qt.io>
* Android: fix sdkmanager not picking up all marked essential packagesAssam Boudjelthia2020-04-151-7/+2
| | | | | | | Task-number: QTCREATORBUG-23829 Change-Id: Id436c96a8b9376d10ada92412c154c5aea2a294b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Android: Automatically download SDK tools and essential packagesAssam Boudjelthia2020-02-071-21/+28
| | | | | | | | | | | | | | | | | | | | Automatically download Android SDK Tools to default path used by Android Studio, then essential packages will be installed using the sdkmanager tool. Automatic installation can also be triggered by an added button in the settings page. Essentials packages include NDK Bundle and other NDK versions required by previous Qt versions. An sdk_definitions.json file holds download paths for SDK Tools, and other (Qt version <-> essential packages) combinations. [ChangeLog][Android] Automatically download SDK Tools, NDKs and all essential packages for Android builds. Task-number: QTCREATORBUG-23285 Change-Id: I90e7aafecd017d2bdc959e403711d9d440a6bbb2 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* More Utils::toSet/toListhjk2019-07-041-1/+1
| | | | | | | ... and unrelated cosmetic changes. Change-Id: I591b17fd5289831e701b683f8fb47816efd1fa67 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Canonicalize some includesChristian Kandeler2019-01-101-3/+3
| | | | | | | | | | | | Our canonical style is #include <utils/fileutils.h> rather than #include "utils/fileutils.h" Which makes sense, as such headers will never be found in the local directory. Change-Id: I4ca46e90d6c4d19d4b1f235f4c79caad864ef222 Reviewed-by: hjk <hjk@qt.io>
* Android: Auto installation of missing necessary SDK packagesVikas Pachdha2017-10-111-1/+37
| | | | | | Task-number: QTCREATORBUG-18978 Change-Id: Iac3e2c956ac3da717c6509f28b8d810827947ea0 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* Android: Android SDK manager user interfaceVikas Pachdha2017-10-111-0/+316
Task-number: QTCREATORBUG-18978 Change-Id: I421ea66fcd4f3cf38e6cfd3be58a35b3f9204c6f Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>