From f039077830f41ca7ea7b1d91a4f7ad45a6613ea6 Mon Sep 17 00:00:00 2001 From: Marius Kittler Date: Tue, 22 Apr 2025 14:01:46 +0200 Subject: [PATCH] =?UTF-8?q?Avoid=20separate=20qt=5F=E2=80=A6=5Ftarget=20ca?= =?UTF-8?q?ll=20for=20`qlocale=5Fwin.cpp`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib309fbf0c106f8bbc81b4a714994087543494605 Reviewed-by: Thiago Macieira Reviewed-by: Joerg Bornemann --- src/corelib/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt index 342518cbf77..dd0a4d095a1 100644 --- a/src/corelib/CMakeLists.txt +++ b/src/corelib/CMakeLists.txt @@ -587,6 +587,7 @@ qt_internal_extend_target(Core CONDITION WIN32 kernel/qwineventnotifier.cpp kernel/qwineventnotifier.h kernel/qwineventnotifier_p.h kernel/qwinregistry.cpp kernel/qwinregistry_p.h plugin/qsystemlibrary.cpp plugin/qsystemlibrary_p.h + text/qlocale_win.cpp thread/qthread_win.cpp platform/windows/qcomobject_p.h platform/windows/qcomptr_p.h @@ -875,11 +876,6 @@ qt_internal_extend_target(Core CONDITION UNIX AND NOT APPLE AND NOT WASM text/qlocale_unix.cpp ) -qt_internal_extend_target(Core CONDITION WIN32 - SOURCES - text/qlocale_win.cpp -) - # Switch this to just 'icu' once we can expect Windows 10 version 1903 qt_internal_extend_target(Core CONDITION QT_FEATURE_winsdkicu LIBRARIES