CppTools: Compile fix for namespaced Qt

Change-Id: I21b0af020938db77e92661d6c481e60df3e87bef
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
hjk
2014-07-04 13:22:59 +02:00
committed by Nikolai Kosjar
parent 8ff225d9d6
commit c898fff111

View File

@@ -121,6 +121,7 @@ struct Result
Q_DECLARE_METATYPE(Result)
Q_DECLARE_METATYPE(QList<Result>)
QT_BEGIN_NAMESPACE
namespace QTest {
template<>
char *toString(const Result &result)
@@ -133,6 +134,7 @@ namespace QTest {
return qstrdup(ba.data());
}
}
QT_END_NAMESPACE
namespace CppTools {
namespace Internal {