summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginecallback_p.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-02-02 13:08:23 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2016-02-04 05:33:55 +0000
commit736b2c5785060b2d9c4b9c40c31408fa5e990f8a (patch)
treeb4bdcf011f1b6247f7a47c0204685bf87054638f /src/core/api/qwebenginecallback_p.h
parentca731a7446f0485886a04474415a21d2f64e3f8b (diff)
Fix build against Qt 5.5
Make QtWebEngine 5.6 buildable as an upgrade to Qt 5.5 Change-Id: Ic5de7fc414374d8492434dd5b956cbb90fff2e3e Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
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 348fed464..f93e863eb 100644
--- a/src/core/api/qwebenginecallback_p.h
+++ b/src/core/api/qwebenginecallback_p.h
@@ -239,10 +239,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