forked from qt-creator/qt-creator
Python: use kits page in python wizards
Change-Id: I1f7aaf145443481546abb868c8c167186600b848 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -119,6 +119,13 @@ public:
|
||||
}
|
||||
|
||||
KitAspect *createKitAspect(Kit *k) const override { return new PythonKitAspectImpl(k, this); }
|
||||
|
||||
QSet<Id> availableFeatures(const Kit *k) const override
|
||||
{
|
||||
if (k->isAspectRelevant(PythonKitAspect::id()) && PythonKitAspect::python(k))
|
||||
return {PythonKitAspect::id()};
|
||||
return {};
|
||||
}
|
||||
};
|
||||
|
||||
std::optional<Interpreter> PythonKitAspect::python(const Kit *kit)
|
||||
|
||||
Reference in New Issue
Block a user