summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/shared.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/shared.pro b/shared/shared.pro
index 3826bb5ed..108a9a255 100644
--- a/shared/shared.pro
+++ b/shared/shared.pro
@@ -10,7 +10,8 @@ CONFIG += static
TARGET = qtwebengine_shared
# Defining keywords such as 'signal' clashes with the chromium code base.
-DEFINES += QT_NO_KEYWORDS
+DEFINES += QT_NO_KEYWORDS \
+ Q_FORWARD_DECLARE_OBJC_CLASS=QT_FORWARD_DECLARE_CLASS
# We need a way to tap into gyp´s Debug vs. Release configuration
PER_CONFIG_DEFINES = QTWEBENGINEPROCESS_PATH=\\\"$$getOutDir()/%config/$$QTWEBENGINEPROCESS_NAME\\\"