From f302a312dcf1005e147193e12fbfc4677aa7af30 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 3 Apr 2025 15:39:29 +0200 Subject: [PATCH] CMake: Do not limit source_group creation to Xcode and VS source_group is used by various IDEs, including Qt Creator, so it makes sense to do that for other generators too. Amends 06ea3e3994b38e5fe9ac4f33044b0efa1f1be294 Pick-to: 6.9 Change-Id: I32334d658ea5a74a9e5f2a7fab2c1f531c099901 Reviewed-by: Alexandru Croitor --- src/corelib/Qt6CoreMacros.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake index 4fe689ab956..b9c39d6f003 100644 --- a/src/corelib/Qt6CoreMacros.cmake +++ b/src/corelib/Qt6CoreMacros.cmake @@ -861,11 +861,6 @@ function(_qt_internal_finalize_target_defer target) endfunction() function(_qt_internal_finalize_source_groups target) - if(NOT ("${CMAKE_GENERATOR}" STREQUAL "Xcode" - OR "${CMAKE_GENERATOR}" MATCHES "^Visual Studio")) - return() - endif() - get_target_property(sources ${target} SOURCES) if(NOT sources) return()