forked from qt-creator/qt-creator
Python: register python infos to the kits macro expander
... and use the name in the autogenerated kits display name Change-Id: I928533e6f8238189d64350463897a86ff5512ae7 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -819,7 +819,7 @@ void PythonSettings::addKitsForInterpreter(const Interpreter &interpreter)
|
||||
[interpreter](Kit *k) {
|
||||
k->setAutoDetected(true);
|
||||
k->setAutoDetectionSource("Python");
|
||||
k->setUnexpandedDisplayName(interpreter.name);
|
||||
k->setUnexpandedDisplayName("%{Python:Name}");
|
||||
setRelevantAspectsToKit(k);
|
||||
PythonKitAspect::setPython(k, interpreter.id);
|
||||
k->setSticky(PythonKitAspect::id(), true);
|
||||
|
||||
Reference in New Issue
Block a user