From 6460ec22d3c65009584e62f8477f1c11b5e724b2 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Tue, 3 Sep 2024 00:53:40 +0800 Subject: [PATCH] Remove WinExtras usage since it no longer exists Qt 6 no longer offers the WinExtras module. --- CMakeLists.txt | 1 - src/lib/CMakeLists.txt | 4 ---- 2 files changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c534eaf7..93331fcfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,6 @@ if (UNIX AND NOT APPLE AND NOT NO_X11) endif() if (WIN32) add_definitions(-DW7API) - find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS WinExtras) # taken from https://stackoverflow.com/a/40217291 macro(get_WIN32_WINNT version) diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index faae040a1..b484e940d 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -620,10 +620,6 @@ if (UNIX AND NOT APPLE) install(TARGETS FalkonPrivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) endif() -if (WIN32) - target_link_libraries(FalkonPrivate Qt::WinExtras) -endif() - if (APPLE) target_link_libraries(FalkonPrivate "-framework CoreServices -framework AppKit") endif()