forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user