From f37360d0fab1d908af99d0a300bde1cd9dfbfdaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com>
Date: Mon, 26 Jan 2009 13:39:24 +0100
Subject: [PATCH] Some feedback about 2-3 second delay before running qmake

The GdbMacrosBuildStep is taking quite long and didn't tell the user
what it was doing. This message helps a bit, but we should fix the
delay.

Reviewed-by: dt
---
 src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp b/src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp
index ea622415a20..507c059239e 100644
--- a/src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp
+++ b/src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp
@@ -65,13 +65,13 @@ void GdbMacrosBuildStep::run(QFutureInterface<bool> & fi)
 {
     QVariant v = value("clean");
     if (v.isNull() || v.toBool() == false) {
+        addToOutputWindow("<b>Creating gdb macros library...</b>");
         // Normal run
         QString dumperPath = Core::ICore::instance()->resourcePath() + "/gdbmacros/";
         QStringList files;
         files << "gdbmacros.cpp"
               << "gdbmacros.pro";
 
-
         QString destDir = m_buildDirectory + "/qtc-gdbmacros/";
         QDir dir;
         dir.mkpath(destDir);
@@ -124,7 +124,6 @@ void GdbMacrosBuildStep::run(QFutureInterface<bool> & fi)
         qmake.start(m_qmake, QStringList()<<"-spec"<<mkspec<<configarguments<<"gdbmacros.pro");
         qmake.waitForFinished();
 
-
         qmake.start(qt4Project->qtVersion(m_buildConfiguration)->makeCommand(), makeArguments);
         qmake.waitForFinished();
 
-- 
GitLab