forked from qt-creator/qt-creator
Android: List extra packages as well
These packages should get listed as well as they contain (at least on Windows) essential packages. Change-Id: Ia8fb8fc641ac6d9a7fba8f65a31ef65eae560a99 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -53,8 +53,9 @@ public:
|
||||
SdkPlatformPackage = 1 << 4,
|
||||
SystemImagePackage = 1 << 5,
|
||||
EmulatorToolsPackage = 1 << 6,
|
||||
ExtraToolsPackage = 1 << 7,
|
||||
AnyValidType = SdkToolsPackage | BuildToolsPackage | PlatformToolsPackage |
|
||||
SdkPlatformPackage | SystemImagePackage | EmulatorToolsPackage
|
||||
SdkPlatformPackage | SystemImagePackage | EmulatorToolsPackage | ExtraToolsPackage
|
||||
};
|
||||
|
||||
enum PackageState {
|
||||
@@ -191,6 +192,16 @@ public:
|
||||
bool isValid() const override;
|
||||
PackageType type() const override;
|
||||
};
|
||||
|
||||
class ExtraTools : public AndroidSdkPackage
|
||||
{
|
||||
public:
|
||||
ExtraTools(QVersionNumber revision, QString sdkStylePathStr, QObject *parent = nullptr);
|
||||
|
||||
// AndroidSdkPackage Overrides
|
||||
bool isValid() const override;
|
||||
PackageType type() const override;
|
||||
};
|
||||
} // namespace Android
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user