summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_gyp_generator.pro4
-rw-r--r--src/core/core_module.pro5
2 files changed, 6 insertions, 3 deletions
diff --git a/src/core/core_gyp_generator.pro b/src/core/core_gyp_generator.pro
index 25e105da6..a2bf2a19c 100644
--- a/src/core/core_gyp_generator.pro
+++ b/src/core/core_gyp_generator.pro
@@ -7,9 +7,9 @@ GYPINCLUDES += qtwebengine.gypi
TEMPLATE = lib
-# This must match the target name in core_module.pro to allow it to do the linking part.
+# NOTE: The TARGET, QT, QT_PRIVATE variables must match those in core_module.pro.
+# gyp/ninja will take care of the compilation, qmake/make will finish with linking and install.
TARGET = QtWebEngineCore
-
QT += qml quick
QT_PRIVATE += qml-private quick-private gui-private core-private
diff --git a/src/core/core_module.pro b/src/core/core_module.pro
index 049bd0596..22d3d8646 100644
--- a/src/core/core_module.pro
+++ b/src/core/core_module.pro
@@ -1,5 +1,8 @@
-TARGET = QtWebEngineCore
MODULE = webenginecore
+TARGET = QtWebEngineCore
+
+QT += qml quick
+QT_PRIVATE += qml-private quick-private gui-private core-private
# Look for linking information produced by gyp for our target according to core_generated.gyp
!include($$getOutDir()/$$getConfigDir()/$${TARGET}_linking.pri) {