2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2022 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2022-03-30 14:42:33 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <projectexplorer/abstractprocessstep.h>
|
|
|
|
|
#include <projectexplorer/buildconfiguration.h>
|
|
|
|
|
#include <projectexplorer/buildstep.h>
|
|
|
|
|
|
2022-07-15 11:49:34 +02:00
|
|
|
namespace Python::Internal {
|
2022-03-30 14:42:33 +02:00
|
|
|
|
|
|
|
|
class PySideBuildConfiguration : public ProjectExplorer::BuildConfiguration
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
PySideBuildConfiguration(ProjectExplorer::Target *target, Utils::Id id);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class PySideBuildConfigurationFactory : public ProjectExplorer::BuildConfigurationFactory
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
PySideBuildConfigurationFactory();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class PySideBuildStep : public ProjectExplorer::AbstractProcessStep
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
PySideBuildStep(ProjectExplorer::BuildStepList *bsl, Utils::Id id);
|
2022-05-30 12:38:46 +02:00
|
|
|
void updatePySideProjectPath(const Utils::FilePath &pySideProjectPath);
|
2022-03-30 14:42:33 +02:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Utils::StringAspect *m_pysideProject;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void doRun() override;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class PySideBuildStepFactory : public ProjectExplorer::BuildStepFactory
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
PySideBuildStepFactory();
|
|
|
|
|
};
|
|
|
|
|
|
2022-07-15 11:49:34 +02:00
|
|
|
} // Python::Internal
|