summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidplugin.h
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* Revert "Android: Make the device watcher process terminate on shutdown"Jarek Kobus2022-03-181-3/+0
| | | | | | | | | This reverts commit e45e16d904f704920bd457fdf3302f3ae7061459. Reason for revert: This one should look different in master Change-Id: I4fbf3a9d046e5fe5a6a45d5ba93b685f5967498c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Android: Make the device watcher process terminate on shutdownAlessandro Portale2022-03-171-0/+3
| | | | | | | | | | | | Terminate on IPlugin::aboutToShutdown instead of QCoreApplication::aboutToQuit. If needed synchronously. Added "ADB device watcher started" logging. Fixes: QTCREATORBUG-27118 Change-Id: I483659b018c74d179b64a5a4f17cc2c27c9598a8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Android: Detect available Ndk platforms also for recent Ndk versionsAlessandro Portale2022-01-301-0/+2
| | | | | | | | | | | | | | | | | | | In order to detect the list of platforms that an Ndk installation supports, AndroidConfig::availableNdkPlatforms iterates through the directories of the Ndk. The directory structure of the Ndk changed in the recent versions. So that the detection that works with Ndk 19 does not work with Ndk 23. Also, the new directory structure is split up by Android ABI. And the lists of supported platforms differ between ABI. This change adds detection for the new structure, in case that the old implementation fails to return a list. It also adds an autotest that covers the old and new detection of supported platforms. Fixes: QTCREATORBUG-26772 Change-Id: I6e584963f51feca0bf90c7ed3a9fdb03cb5d39e6 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: Create a test for AndroidSdkManager's parseProgressAlessandro Portale2021-05-191-0/+6
| | | | | | | | | | Quick and dirty as plugin test. Depending on how the upcoming SdkManager parsing tests turn out, these could become standalone tests. Launch qtcreator with command line option "-test Android" Change-Id: I66c1604a1df96d8c2c50006052d664d4a339f5ff Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: Automatically download SDK tools and essential packagesAssam Boudjelthia2020-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | 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>
* Provide an empty default IPlugin::extensionsInitialized()hjk2020-02-071-1/+0
| | | | | | | And remove all empy re-implementations. Change-Id: I19f0b4e55c042c96693ecb89766f97f0a97b54ae Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add final specifies to classesIgor Sidorov2020-02-051-1/+1
| | | | | | | Warning -Wfinal-dtor-non-final-class in clang trunk Change-Id: I2bf17064bf8898eab10b82b69583a283157766d0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Plugins: Code cosmeticshjk2019-02-271-6/+2
| | | | | | | | | Get closer to a uniform pattern of code layout (public/private, pimpl naming...) Change-Id: If2bc6dcee3df9127274f479b4ebc270d283dcb65 Reviewed-by: Xing Xiong Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Android: Some code cosmeticshjk2018-02-141-6/+5
| | | | | | | | | | | The naming scheme of the internal object was changed to the usual pimpl pattern. Also setup device update connection in the device constructory Change-Id: I5cbb7a9d870a7d1f0e91e54f2ad6dfb95ea63e37 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Android: Remove dependency on plugin object poolhjk2018-01-301-3/+9
| | | | | | Change-Id: Ic6908cca581a0d6155c8c43c86163347ca578a4c Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* Android: Use Qt5-style connectsOrgad Shaneh2016-07-041-1/+1
| | | | | | | The heavy lifting was done by clazy. Change-Id: Id09b62b7b9812d9c0981202c257d18387a8b09d9 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* Wholesale conversion to #pragma oncehjk2016-03-301-4/+1
| | | | | | | Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-18/+13
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* AndroidDevice: Update after the device manager has actually loadedDaniel Teske2013-04-111-0/+1
| | | | | Change-Id: Ibab03ef09dea6312a0d4c812c819d847b1399298 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* ToolChainKitInformation: Make use of ToolChainManager::isLoaded()Tobias Hunger2013-02-281-1/+2
| | | | | | | | Warn when trying to access values not yet initialized, and avoid doing so. Also invalidate toolchains in kits properly. Change-Id: I3a98a2ca89ce43d9982d37bdee451c5122c788b2 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* AndroidPlugin: Fix automatic creation of Kits being run to earlyDaniel Teske2013-02-251-0/+2
| | | | | | Task-number: QTCREATORBUG-8819 Change-Id: I2b78706ed7e090ed66ad412fb8600b0f73a7323e Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Adjust license headershjk2012-10-051-20/+19
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* QNX/Android: Add missing plugin metadata specifications for Qt 5.Friedemann Kleint2012-08-201-0/+1
| | | | | | | | Reshuffle the pluginspec file such that the XSL transformation generates a valid file. Change-Id: I006eecf1efbb45a10c6dc414cb1d1b278b2cce5a Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* android: code cosmeticshjk2012-08-121-2/+1
| | | | | | | | | Fix whitespace, capitalization, naming, comments, add 'using' in .cpp, remove 'using' in .h, remove unneeded Q_UNUSED, add needed Q_UNUSED, etc. Change-Id: Ibf9ba57850cbea1e79e152ec0165c8b01fa66567 Reviewed-by: hjk <qthjk@ovi.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Profile introductionTobias Hunger2012-06-211-5/+5
| | | | | | | | | | | | | Introduce Profiles to store sets of values that describe a system/device. These profiles are held by a target, getting rid of much of the information stored in the Build-/Run-/DeployConfigurations, greatly simplifying those. This is a squash of the wip/profile branch which has been on gerrit for a while, rebased to current master. Change-Id: I25956c8dd4d1962b2134bfaa8a8076ae3909460f Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Android pluginBogDan Vatra2012-04-241-0/+54
Change-Id: Iad58914f067a6ef6d3412ccd42f757d821e39e45 Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>