diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-02-02 13:08:23 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2016-02-04 05:33:55 +0000 |
commit | 736b2c5785060b2d9c4b9c40c31408fa5e990f8a (patch) | |
tree | b4bdcf011f1b6247f7a47c0204685bf87054638f /src/webenginewidgets/api/qwebenginehistory.h | |
parent | ca731a7446f0485886a04474415a21d2f64e3f8b (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/webenginewidgets/api/qwebenginehistory.h')
-rw-r--r-- | src/webenginewidgets/api/qwebenginehistory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebenginehistory.h b/src/webenginewidgets/api/qwebenginehistory.h index 3dcea9469..81dd3fb34 100644 --- a/src/webenginewidgets/api/qwebenginehistory.h +++ b/src/webenginewidgets/api/qwebenginehistory.h @@ -76,7 +76,9 @@ private: friend class QWebEngineHistoryPrivate; }; +#if QT_VERSION >= QT_VERSION_CHECK(5,6,0) Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QWebEngineHistoryItem) +#endif class QWebEngineHistoryPrivate; class QWEBENGINEWIDGETS_EXPORT QWebEngineHistory { |