2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2022 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 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 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:
|
|
|
|
|
void doRun() override;
|
2023-05-23 16:54:11 +02:00
|
|
|
|
|
|
|
|
Utils::FilePathAspect m_pysideProject{this};
|
2022-03-30 14:42:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class PySideBuildStepFactory : public ProjectExplorer::BuildStepFactory
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
PySideBuildStepFactory();
|
|
|
|
|
};
|
|
|
|
|
|
2023-05-23 16:47:28 +02:00
|
|
|
class PySideBuildConfigurationFactory : public ProjectExplorer::BuildConfigurationFactory
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
PySideBuildConfigurationFactory();
|
|
|
|
|
};
|
|
|
|
|
|
2022-07-15 11:49:34 +02:00
|
|
|
} // Python::Internal
|