Commit 8a28b2f0 authored by Christian Kandeler's avatar Christian Kandeler

Fix compilation with namespaced Qt.

Change-Id: Iaed86d3b0ccab4f7018f0cbf2e178a892a580606
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent dcf61846
...@@ -83,6 +83,7 @@ typedef ResultData::ResultDataList ResultDataList; ...@@ -83,6 +83,7 @@ typedef ResultData::ResultDataList ResultDataList;
Q_DECLARE_METATYPE(Locator::Internal::Tests::ResultData) Q_DECLARE_METATYPE(Locator::Internal::Tests::ResultData)
Q_DECLARE_METATYPE(Locator::Internal::Tests::ResultDataList) Q_DECLARE_METATYPE(Locator::Internal::Tests::ResultDataList)
QT_BEGIN_NAMESPACE
namespace QTest { namespace QTest {
template<> char *toString(const Locator::Internal::Tests::ResultData &data) template<> char *toString(const Locator::Internal::Tests::ResultData &data)
...@@ -92,5 +93,6 @@ template<> char *toString(const Locator::Internal::Tests::ResultData &data) ...@@ -92,5 +93,6 @@ template<> char *toString(const Locator::Internal::Tests::ResultData &data)
} }
} // namespace QTest } // namespace QTest
QT_END_NAMESPACE
#endif // LOCATORFILTERTEST_H #endif // LOCATORFILTERTEST_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment