aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androidsdkdownloader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Android: read SDK configuration from user editable pathAssam Boudjelthia2020-03-181-5/+5
| | | | | | | | | | By default, copy the sdk_definitions.json to Qt Creator user resource path. The user can use that to make any updates if desired. Add SdkDownloader instance as a member of AndroidSettingsWidget. Change-Id: Ieabc9c6ddecbe63586f750b26bcf4ca990caee26 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Android: call cancel() instead of hide() in sdk download progressdialogAssam Boudjelthia2020-02-201-1/+1
| | | | | | | | The proper use is to call cancel(), the dialog will be hiden after that. Otherwise, it will not be cancel and can get visible again. Change-Id: Ifb2a00721571ce2bc8ded7c96e6b69e587020b34 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: use QDir::mkPath() instead of QDir::mkdir() in SdkDownloaderAssam Boudjelthia2020-02-111-2/+3
| | | | | | | | Allow creating nested dirs path. Change-Id: I38106c148b177e5af06a59dd624ee74e2db1df40 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Android: Automatically download SDK tools and essential packagesAssam Boudjelthia2020-02-071-0/+231
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>