summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/api/qwebenginecallback_p.h2
-rw-r--r--src/core/pref_service_adapter.h2
-rw-r--r--src/core/profile_qt.h1
-rw-r--r--src/pdfwidgets/qpdfview_p.h1
4 files changed, 2 insertions, 4 deletions
diff --git a/src/core/api/qwebenginecallback_p.h b/src/core/api/qwebenginecallback_p.h
index 133a86f6d..9cc25b7fd 100644
--- a/src/core/api/qwebenginecallback_p.h
+++ b/src/core/api/qwebenginecallback_p.h
@@ -244,7 +244,7 @@ inline void CallbackDirectory::CallbackSharedDataPointer<T>::invokeEmpty()
parent->invokeEmptyInternal(callback);
}
-#define CHECK_RELOCATABLE(x) Q_STATIC_ASSERT((QTypeInfoQuery<QWebEngineCallback<x>>::isRelocatable));
+#define CHECK_RELOCATABLE(x) Q_STATIC_ASSERT((QTypeInfo<QWebEngineCallback<x>>::isRelocatable));
FOR_EACH_TYPE(CHECK_RELOCATABLE)
#undef CHECK_RELOCATABLE
diff --git a/src/core/pref_service_adapter.h b/src/core/pref_service_adapter.h
index 5c4c6e92a..93a61302f 100644
--- a/src/core/pref_service_adapter.h
+++ b/src/core/pref_service_adapter.h
@@ -44,8 +44,6 @@
#include "components/prefs/pref_service.h"
#include "qtwebenginecoreglobal_p.h"
-QT_FORWARD_DECLARE_CLASS(QStringList)
-
namespace QtWebEngineCore {
class ProfileAdapter;
diff --git a/src/core/profile_qt.h b/src/core/profile_qt.h
index df84136bc..11b567b97 100644
--- a/src/core/profile_qt.h
+++ b/src/core/profile_qt.h
@@ -48,7 +48,6 @@
#include "profile_io_data_qt.h"
#include <QtGlobal>
-QT_FORWARD_DECLARE_CLASS(QStringList)
class InMemoryPrefStore;
class PrefService;
diff --git a/src/pdfwidgets/qpdfview_p.h b/src/pdfwidgets/qpdfview_p.h
index 7e758832c..d6b3f0345 100644
--- a/src/pdfwidgets/qpdfview_p.h
+++ b/src/pdfwidgets/qpdfview_p.h
@@ -50,6 +50,7 @@
#include "qpdfview.h"
+#include <QHash>
#include <QPointer>
QT_BEGIN_NAMESPACE