summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginecallback_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginecallback_p.h')
-rw-r--r--src/core/api/qwebenginecallback_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/api/qwebenginecallback_p.h b/src/core/api/qwebenginecallback_p.h
index fdaf84d21..b88ef4d2c 100644
--- a/src/core/api/qwebenginecallback_p.h
+++ b/src/core/api/qwebenginecallback_p.h
@@ -242,10 +242,12 @@ void CallbackDirectory::CallbackSharedDataPointer<T>::invokeEmpty()
parent->invokeEmptyInternal(callback);
}
+#if QT_VERSION >= QT_VERSION_CHECK(5,6,0)
#define CHECK_RELOCATABLE(x) \
Q_STATIC_ASSERT((QTypeInfoQuery<QWebEngineCallback< x > >::isRelocatable));
FOR_EACH_TYPE(CHECK_RELOCATABLE)
#undef CHECK_RELOCATABLE
+#endif
} // namespace QtWebEngineCore