Python: use kits page in python wizards

Change-Id: I1f7aaf145443481546abb868c8c167186600b848
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2023-11-01 15:05:03 +01:00
parent 12428bf1d6
commit 09e94ae4ac
33 changed files with 870 additions and 680 deletions

View File

@@ -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)