CMake: Use line based QtcProcess callbacks in CMakeProcess

This also fixes a potential issue where contents in the local
'rest' strings outlive the process and get part of the next run.

Change-Id: Ia9272bff80213084e430436d677183b4faabd250
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-06-14 12:06:23 +02:00
parent c0fe038f93
commit 60ab92ec1b
2 changed files with 18 additions and 49 deletions

View File

@@ -59,10 +59,6 @@ public:
void reportFinished(); // None of the progress related functions will work after this!
void setProgressValue(int p);
// Process stdout/stderr:
void processStandardOutput();
void processStandardError();
int lastExitCode() const { return m_lastExitCode; }
signals: