Files
qt-creator/src/plugins/python/pythonkitaspect.h
David Schulz b2cb87f06e Python: add a python kit aspect
Change-Id: If7aaa52025ec5834a44e9196548fbcc7456c89a8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-02 09:18:19 +00:00

21 lines
532 B
C++

// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <projectexplorer/runconfigurationaspects.h>
namespace ProjectExplorer { class Kit; }
namespace Python {
class PythonKitAspect
{
public:
static std::optional<ProjectExplorer::Interpreter> python(const ProjectExplorer::Kit *kit);
static void setPython(ProjectExplorer::Kit *k, const QString &interpreterId);
static Utils::Id id();
};
}; // namespace Python