Files
qt-creator/src/plugins/python/pysideuicextracompiler.h
Jarek Kobus 470c95c94b Utils: Rename QtcProcess -> Process
Task-number: QTCREATORBUG-29102
Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-05-04 05:52:16 +00:00

30 lines
884 B
C++

// Copyright (C) 2022 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/extracompiler.h>
namespace Python::Internal {
class PySideUicExtraCompiler : public ProjectExplorer::ProcessExtraCompiler
{
public:
PySideUicExtraCompiler(const Utils::FilePath &pySideUic,
const ProjectExplorer::Project *project,
const Utils::FilePath &source,
const Utils::FilePaths &targets,
QObject *parent = nullptr);
Utils::FilePath pySideUicPath() const;
private:
Utils::FilePath command() const override;
ProjectExplorer::FileNameToContentsHash handleProcessFinished(
Utils::Process *process) override;
Utils::FilePath m_pySideUic;
};
} // Python::Internal