Python: export Interpreter generator

Change-Id: I591bd6c14706e1699f028a9a3a6dfd9b89eec66a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2019-10-24 14:28:58 +02:00
parent 01df962d6a
commit 95bd328c31
2 changed files with 23 additions and 11 deletions

View File

@@ -35,7 +35,15 @@ namespace Internal {
class Interpreter
{
public:
QString id;
Interpreter() = default;
Interpreter(const Utils::FilePath &python,
const QString &defaultName,
bool windowedSuffix = false);
Interpreter(const QString &id,
const QString &name,
const Utils::FilePath &command);
QString id = QUuid::createUuid().toString();
QString name;
Utils::FilePath command;
};