iOS: Disable anything but running for iOS 17+ devices

We currently cannot support anything than running for devices with iOS
17 and later.

Make it possible for RunConfigurations to state that they are disabled
depending on run mode.

Change-Id: I13df4dd482f6381cda15168c38ede00d95e1d692
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Eike Ziller
2024-01-15 15:38:18 +01:00
parent 76a8966739
commit 479f1f34ce
11 changed files with 47 additions and 28 deletions

View File

@@ -70,11 +70,11 @@ public:
QString applicationName() const;
Utils::FilePath bundleDirectory() const;
Utils::FilePath localExecutable() const;
QString disabledReason() const override;
QString disabledReason(Utils::Id runMode) const override;
IosDeviceType deviceType() const;
private:
bool isEnabled() const final;
bool isEnabled(Utils::Id runMode) const final;
ProjectExplorer::ExecutableAspect executable{this};
ProjectExplorer::ArgumentsAspect arguments{this};