forked from qt-creator/qt-creator
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:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user