forked from qt-creator/qt-creator
Android: Allow users to select which NDK to use for kits
This adds a "Make Default" button next to the NDKs list view. The default NDK version is then used to override the NDK version for all Qt versions in the sdk_definitions.json. Fixes: QTCREATORBUG-21755 Fixes: QTCREATORBUG-22389 Fixes: QTCREATORBUG-24248 Fixes: QTCREATORBUG-26281 Change-Id: I460daafdd7f2d6380c0114bcd14cb0c46226d516 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
@@ -167,6 +167,8 @@ public:
|
||||
QStringList getCustomNdkList() const;
|
||||
void addCustomNdk(const QString &customNdk);
|
||||
void removeCustomNdk(const QString &customNdk);
|
||||
void setDefaultNdk(const Utils::FilePath &defaultNdk);
|
||||
Utils::FilePath defaultNdk() const;
|
||||
|
||||
Utils::FilePath openSslLocation() const;
|
||||
void setOpenSslLocation(const Utils::FilePath &openSslLocation);
|
||||
@@ -201,6 +203,7 @@ private:
|
||||
SdkForQtVersions m_defaultSdkDepends;
|
||||
QList<SdkForQtVersions> m_specificQtVersions;
|
||||
QStringList m_customNdkList;
|
||||
Utils::FilePath m_defaultNdk;
|
||||
bool m_sdkFullyConfigured = false;
|
||||
|
||||
//caches
|
||||
|
||||
Reference in New Issue
Block a user