forked from qt-creator/qt-creator
CppTools: Compile fix for namespaced Qt
Change-Id: I21b0af020938db77e92661d6c481e60df3e87bef Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -121,6 +121,7 @@ struct Result
|
|||||||
Q_DECLARE_METATYPE(Result)
|
Q_DECLARE_METATYPE(Result)
|
||||||
Q_DECLARE_METATYPE(QList<Result>)
|
Q_DECLARE_METATYPE(QList<Result>)
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
namespace QTest {
|
namespace QTest {
|
||||||
template<>
|
template<>
|
||||||
char *toString(const Result &result)
|
char *toString(const Result &result)
|
||||||
@@ -133,6 +134,7 @@ namespace QTest {
|
|||||||
return qstrdup(ba.data());
|
return qstrdup(ba.data());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace CppTools {
|
namespace CppTools {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|||||||
Reference in New Issue
Block a user