forked from qt-creator/qt-creator
CMakeProcess: Simplify implementation by using ProcessProgress
Change-Id: I9e9665f7e57ebb7d3028396e792161aa2c3a648e Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -6,17 +6,11 @@
|
||||
#include <utils/outputformatter.h>
|
||||
|
||||
#include <QElapsedTimer>
|
||||
#include <QFutureInterface>
|
||||
#include <QObject>
|
||||
#include <QStringList>
|
||||
|
||||
#include <memory>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
template<class T>
|
||||
class QFutureWatcher;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
class ProcessResultData;
|
||||
class QtcProcess;
|
||||
@@ -48,8 +42,6 @@ private:
|
||||
|
||||
std::unique_ptr<Utils::QtcProcess> m_process;
|
||||
Utils::OutputFormatter m_parser;
|
||||
QFutureInterface<void> m_futureInterface;
|
||||
std::unique_ptr<QFutureWatcher<void>> m_futureWatcher;
|
||||
QElapsedTimer m_elapsed;
|
||||
int m_lastExitCode = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user