forked from qt-creator/qt-creator
Promote previously python-specific InterpreterAspect
... and drop PythonRunConfiguration, which is a plain RunConfiguration now. Change-Id: I540cb738180fc1424f730d6d1998886915ce527b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -31,31 +31,6 @@
|
||||
namespace Python {
|
||||
namespace Internal {
|
||||
|
||||
class Interpreter;
|
||||
|
||||
class PythonRunConfiguration : public ProjectExplorer::RunConfiguration
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PROPERTY(bool supportsDebugger READ supportsDebugger)
|
||||
Q_PROPERTY(QString interpreter READ interpreterPath)
|
||||
Q_PROPERTY(QString mainScript READ mainScript)
|
||||
Q_PROPERTY(QString arguments READ arguments)
|
||||
|
||||
public:
|
||||
PythonRunConfiguration(ProjectExplorer::Target *target, Utils::Id id);
|
||||
Interpreter interpreter() const;
|
||||
QString interpreterPath() const;
|
||||
void setInterpreter(const Interpreter &interpreterId);
|
||||
|
||||
private:
|
||||
void interpreterChanged();
|
||||
|
||||
bool supportsDebugger() const;
|
||||
QString mainScript() const;
|
||||
QString arguments() const;
|
||||
};
|
||||
|
||||
class PythonRunConfigurationFactory : public ProjectExplorer::RunConfigurationFactory
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user