aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-11-12 13:28:42 +0100
committerChristian Stenger <christian.stenger@qt.io>2019-11-12 12:36:08 +0000
commit2f42e11ac6bcb2846626b04b440dfaf00028d9ab (patch)
tree7cf7e81940761a5655d08b85dceb1452b38d1634 /src/tools
parent0120e462b268957171d8542b72b0ffb4a8777f7b (diff)
Fix compile before current Qt dev
Amends 0120e462b268957171d8542b72b0ffb4a8777f7b. Change-Id: If9f443c03009bf8728497f10c8fb81f37fa1a63d Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/buildoutputparser/outputprocessor.cpp4
-rw-r--r--src/tools/valgrindfake/outputgenerator.cpp3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/tools/buildoutputparser/outputprocessor.cpp b/src/tools/buildoutputparser/outputprocessor.cpp
index 0f5b54a13d..e5abaa0baf 100644
--- a/src/tools/buildoutputparser/outputprocessor.cpp
+++ b/src/tools/buildoutputparser/outputprocessor.cpp
@@ -40,6 +40,8 @@
#include <stdio.h>
+using namespace Qt;
+
CompilerOutputProcessor::CompilerOutputProcessor(CompilerType compilerType, QIODevice &source)
: m_compilerType(compilerType)
, m_source(source)
@@ -86,5 +88,5 @@ void CompilerOutputProcessor::handleTask(const ProjectExplorer::Task &task)
*m_ostream << ':' << task.line;
*m_ostream << ": ";
}
- *m_ostream << task.description << Qt::endl;
+ *m_ostream << task.description << endl;
}
diff --git a/src/tools/valgrindfake/outputgenerator.cpp b/src/tools/valgrindfake/outputgenerator.cpp
index bec3570c95..d8e544da4c 100644
--- a/src/tools/valgrindfake/outputgenerator.cpp
+++ b/src/tools/valgrindfake/outputgenerator.cpp
@@ -49,6 +49,7 @@ void doSleep(int msec)
}
#endif
+using namespace Qt;
using namespace Valgrind::Fake;
OutputGenerator::OutputGenerator(QAbstractSocket *output, QIODevice *input) :
@@ -115,7 +116,7 @@ void OutputGenerator::produceRuntimeError()
blockingWrite(m_output, "<</GARBAGE = '\"''asdfaqre");
m_output->flush();
} else if (m_wait) {
- qDebug() << "waiting in fake valgrind for " << m_wait << " seconds..." << Qt::endl;
+ qDebug() << "waiting in fake valgrind for " << m_wait << " seconds..." << endl;
doSleep(1000 * m_wait);
}
}