Created
November 11, 2020 16:27
-
-
Save torarnv/a37349a11f3f7943c7de91b249efcfe2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/src/corelib/Qt6CoreMacros.cmake w/src/corelib/Qt6CoreMacros.cmake | |
index 0745c60c2d4..4fc9106fc75 100644 | |
--- i/src/corelib/Qt6CoreMacros.cmake | |
+++ w/src/corelib/Qt6CoreMacros.cmake | |
@@ -1368,6 +1368,11 @@ function(_qt_internal_setup_startup_target) | |
set(dependent_target "${dependent_aliased_target}") | |
endif() | |
+ if(WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "iOS" OR APPLE) | |
+ target_link_libraries("${dependent_target}" INTERFACE Qt6::EntryPoint) | |
+ return() | |
+ endif() | |
+ | |
# Check if Core is being built as part of current CMake invocation. | |
# If it is, that means the Core target scope is global and the same scope should be set for the | |
# to-be-created Startup target, to avoid creating 100s of local IMPORTED Startup targets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment