1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-19 10:16:34 +01:00

Remove WinExtras usage since it no longer exists

Qt 6 no longer offers the WinExtras module.
This commit is contained in:
Gary Wang 2024-09-03 00:53:40 +08:00
parent 2847ac6fa7
commit 6460ec22d3
No known key found for this signature in database
GPG Key ID: 5D30A4F15EA78760
2 changed files with 0 additions and 5 deletions

View File

@ -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)

View File

@ -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()