aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/quick.pro
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-08-10 13:13:38 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-08-10 13:51:02 +0200
commitd1a43e4a37cb6bbe0dfcbacd4ce975b0ce0090f0 (patch)
tree567a010c0947f8668d7b3b0977c16621f846b4b5 /src/quick/quick.pro
parent02caa659dad5e28b95029e28a40912cabeaf6a9b (diff)
Quick: Make sure the module initialization runs in static builds
We need to keep a reference to the module initialization function somewhere in order to prevent the linker from removing it. In order to avoid further littering of the namespace, the QQuick_initializeProviders function is transformed to cover all of the initialization. Task-number: QTBUG-85693 Change-Id: Ie93e5abd1dfb5a425b87c70d8ec6327bb68880cb Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/quick.pro')
-rw-r--r--src/quick/quick.pro2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/quick/quick.pro b/src/quick/quick.pro
index 6eb6575326..1e2c0360c2 100644
--- a/src/quick/quick.pro
+++ b/src/quick/quick.pro
@@ -46,8 +46,6 @@ HEADERS += \
qtquickglobal.h \
qtquickglobal_p.h
-SOURCES += qtquick2.cpp
-
# To make #include "qquickcontext2d_jsclass.cpp" work
INCLUDEPATH += $$PWD