summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-22 13:49:57 (GMT)
committerhjk <qthjk@ovi.com>2011-11-22 13:51:15 (GMT)
commit91bf025444f13eb269ece6bb430a841638bb32a8 (patch)
treebc55e4877fbab40f5bd044036d1a56bcea7d6b66 /src/testlib
parent608c4766a8d1a30c773c8b0f0701c8e746215c80 (diff)
downloadQt-91bf025444f13eb269ece6bb430a841638bb32a8.zip
Qt-91bf025444f13eb269ece6bb430a841638bb32a8.tar.gz
Qt-91bf025444f13eb269ece6bb430a841638bb32a8.tar.bz2
Add spaces for string concatenation to work around C++11 source incompatibility.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Task-number: QTBUG-22847
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qxmltestlogger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/qxmltestlogger.cpp b/src/testlib/qxmltestlogger.cpp
index 2c8ba6c..1cb221c 100644
--- a/src/testlib/qxmltestlogger.cpp
+++ b/src/testlib/qxmltestlogger.cpp
@@ -120,14 +120,14 @@ void QXmlTestLogger::startLogging()
QTest::qt_asprintf(&buf,
"<Environment>\n"
" <QtVersion>%s</QtVersion>\n"
- " <QTestVersion>"QTEST_VERSION_STR"</QTestVersion>\n"
+ " <QTestVersion>" QTEST_VERSION_STR "</QTestVersion>\n"
" <RandomSeed>%d</RandomSeed>\n"
"</Environment>\n", qVersion(), randomSeed);
} else {
QTest::qt_asprintf(&buf,
"<Environment>\n"
" <QtVersion>%s</QtVersion>\n"
- " <QTestVersion>"QTEST_VERSION_STR"</QTestVersion>\n"
+ " <QTestVersion>" QTEST_VERSION_STR "</QTestVersion>\n"
"</Environment>\n", qVersion());
}
outputString(buf.constData());