summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-02-17 08:35:57 +0100
committerChristian Stenger <christian.stenger@qt.io>2020-02-17 11:49:03 +0000
commitac49b9f913d4166b1486fadbc789ca50acb263fd (patch)
treec35064c0c151dbcde7f9523aaf12079e2b06b9e0
parent6825350037fdb31c0886f3117af0369df45954f4 (diff)
Fix build with namespaced Qt
Change-Id: I796ad4cb92de828d999f35b55ca8d94879230d2f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--app/perfaddresscache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/perfaddresscache.h b/app/perfaddresscache.h
index e372e77..50f5f2f 100644
--- a/app/perfaddresscache.h
+++ b/app/perfaddresscache.h
@@ -68,6 +68,8 @@ private:
QHash<QByteArray, OffsetAddressCache> m_cache;
QHash<QByteArray, SymbolCache> m_symbolCache;
};
-Q_DECLARE_TYPEINFO(PerfAddressCache::SymbolCacheEntry, Q_MOVABLE_TYPE);
+QT_BEGIN_NAMESPACE
+Q_DECLARE_TYPEINFO(PerfAddressCache::SymbolCacheEntry, Q_MOVABLE_TYPE);
+QT_END_NAMESPACE
#endif