diff --git a/src/plugins/python/pythonsettings.cpp b/src/plugins/python/pythonsettings.cpp index 4e68f542519..256919b0317 100644 --- a/src/plugins/python/pythonsettings.cpp +++ b/src/plugins/python/pythonsettings.cpp @@ -661,25 +661,12 @@ static QList pythonsFromRegistry() FilePath::fromUserInput(regVal.toString())}; } } - regVal = pythonRegistry.value("InstallPath/WindowedExecutablePath"); - if (regVal.isValid()) { - const FilePath &executable = FilePath::fromUserInput(regVal.toString()); - if (executable.exists()) { - pythons << Interpreter{QUuid::createUuid().toString(), - //: (Windowed) - Tr::tr("%1 (Windowed)").arg(name), - FilePath::fromUserInput(regVal.toString())}; - } - } regVal = pythonRegistry.value("InstallPath/."); if (regVal.isValid()) { const FilePath &path = FilePath::fromUserInput(regVal.toString()); const FilePath python = path.pathAppended("python").withExecutableSuffix(); if (python.exists()) pythons << createInterpreter(python, "Python " + versionGroup); - const FilePath pythonw = path.pathAppended("pythonw").withExecutableSuffix(); - if (pythonw.exists()) - pythons << createInterpreter(pythonw, "Python " + versionGroup, "(Windowed)"); } pythonRegistry.endGroup(); } @@ -697,10 +684,6 @@ static QList pythonsFromPath() if (executable.exists()) pythons << createInterpreter(executable, "Python from Path"); } - for (const FilePath &executable : FilePath("pythonw").searchAllInPath()) { - if (executable.exists()) - pythons << createInterpreter(executable, "Python from Path", "(Windowed)"); - } } else { const QStringList filters = {"python", "python[1-9].[0-9]",