From 85ba43061f48bd7d11abc31b5315224d9fe926db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 21 Oct 2020 17:32:05 +0200 Subject: Make entry point module an internal module Change-Id: I9eaadc7ce8ca03d64ff3a33c7b6641b073570a61 Reviewed-by: Alexandru Croitor --- mkspecs/features/entrypoint.prf | 2 +- src/entrypoint/CMakeLists.txt | 2 ++ src/entrypoint/entrypoint.pro | 2 +- 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 -- cgit v1.2.3