diff options
author | Tobias Hunger <[email protected]> | 2013-02-12 12:56:02 +0100 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2013-02-12 18:31:28 +0100 |
commit | 962ba86d0fdc884231bf3ffa0ccf834fee64dd61 (patch) | |
tree | c260b75440b273a159ff62656e8a2095691bbb70 /src/plugins/autotoolsprojectmanager/autogenstep.cpp | |
parent | 6a7cefbd97cddd0258c394623932723c53472b82 (diff) |
AbstractProcessStep: Do not run a qprocess in a thread
This avoids sending signals for new tasks and process output
via the gui thread's event loop. When finding lots of issues in
the output we generate so many events that any attempt to
compress events takes a long time (max. events waiting to be
processed were > 1200000 when doing a clang -Weverything build!),
and thus the UI freezes.
Change-Id: I9668d2537b1a268e788cd0ea5c756ebaab4462a9
Reviewed-by: Daniel Teske <[email protected]>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/autogenstep.cpp')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/autogenstep.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autogenstep.cpp b/src/plugins/autotoolsprojectmanager/autogenstep.cpp index 6dc35f1d12b..f8afd63a02c 100644 --- a/src/plugins/autotoolsprojectmanager/autogenstep.cpp +++ b/src/plugins/autotoolsprojectmanager/autogenstep.cpp @@ -184,6 +184,7 @@ void AutogenStep::run(QFutureInterface<bool> &interface) if (!m_runAutogen) { emit addOutput(tr("Configuration unchanged, skipping autogen step."), BuildStep::MessageOutput); interface.reportResult(true); + emit finished(); return; } |