Use version-less Qt targets and functions whenever possible

This commit is contained in:
Ilya Fedin 2022-08-09 02:42:20 +04:00 committed by John Preston
parent 84b3260f38
commit ceb7d5f238
5 changed files with 8 additions and 12 deletions

View File

@ -1452,14 +1452,10 @@ else()
endif()
if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
if (DESKTOP_APP_QT6)
qt6_generate_wayland_protocol_client_sources(Telegram
FILES
${third_party_loc}/plasma-wayland-protocols/src/protocols/plasma-shell.xml
)
else()
message(FATAL_ERROR "This piece of cmake code is not ported to Qt 5")
endif()
qt_generate_wayland_protocol_client_sources(Telegram
FILES
${third_party_loc}/plasma-wayland-protocols/src/protocols/plasma-shell.xml
)
target_link_libraries(Telegram
PRIVATE

@ -1 +1 @@
Subproject commit ef8dfc211c2d0f999ceb38d85ac6c39222b142c0
Subproject commit 37fab6b4da32c91bc5d049baad2e9ad51cfcd195

@ -1 +1 @@
Subproject commit 16708fd4f42c38ff43ddd2a82a638bd5b7cd2be8
Subproject commit 6732aa70e94202f0d7f135e45a89ba65e6c5c287

@ -1 +1 @@
Subproject commit 177e4ef19c4480db4cff480cba0a536d7556e17f
Subproject commit 271290b93c65b6fb634cb9c69bff97f51b74f3a7

2
cmake

@ -1 +1 @@
Subproject commit 76459183d9560817f2a562d61ef57754505f8205
Subproject commit 9615515b069a1d3174fc45f9de69a23b616b80b3