summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mkspecs/features/entrypoint.prf2
-rw-r--r--src/entrypoint/CMakeLists.txt2
-rw-r--r--src/entrypoint/entrypoint.pro2
3 files changed, 4 insertions, 2 deletions
diff --git a/mkspecs/features/entrypoint.prf b/mkspecs/features/entrypoint.prf
index 4601455c4a..48bb378034 100644
--- a/mkspecs/features/entrypoint.prf
+++ b/mkspecs/features/entrypoint.prf
@@ -7,5 +7,5 @@ qt:!console:contains(TEMPLATE, ".*app") {
# we have to work around it by declaring the dependency here.
mingw: LIBS += -lmingw32
- QT_PRIVATE += entrypoint
+ QT_PRIVATE += entrypoint_private
}
diff --git a/src/entrypoint/CMakeLists.txt b/src/entrypoint/CMakeLists.txt
index 16c01540dd..fc04dac6df 100644
--- a/src/entrypoint/CMakeLists.txt
+++ b/src/entrypoint/CMakeLists.txt
@@ -6,8 +6,10 @@ endif()
qt_internal_add_module(EntryPoint
STATIC
+ INTERNAL_MODULE
NO_SYNC_QT
NO_MODULE_HEADERS
+ NO_PRIVATE_MODULE
DEFINES
QT_NO_FOREACH
INCLUDE_DIRECTORIES
diff --git a/src/entrypoint/entrypoint.pro b/src/entrypoint/entrypoint.pro
index 9dc8de57d4..f139923b7e 100644
--- a/src/entrypoint/entrypoint.pro
+++ b/src/entrypoint/entrypoint.pro
@@ -3,7 +3,7 @@
TARGET = QtEntryPoint
-CONFIG += static no_module_headers
+CONFIG += static no_module_headers internal_module
QT = core
DEFINES += QT_NO_FOREACH