Compare commits

..

11 Commits

Author SHA1 Message Date
Bhushan Shah
168d51c848 Update Frameworks version requirement to 6.26.0
GIT_SILENT
2026-05-27 22:47:50 +05:30
Justin Zobel
c0888c1fc8 CI: Require all tests to pass 2026-05-25 20:09:25 +09:30
Bhushan Shah
9feb153716 Update version for new release 6.7.80 2026-05-18 11:47:07 +05:30
Bhushan Shah
ba986ea573 Update version for new release 6.6.90 2026-05-14 13:30:54 +05:30
Bhushan Shah
8be764bb9a Update Frameworks version requirement to 6.24.0
GIT_SILENT
2026-05-14 12:40:04 +05:30
Vlad Zahorodnii
aac600107a Fix spectacle crash
focusWindow may have no platform window.
2026-03-26 10:25:05 +00:00
Laurent Montel
9c02b52291 fix cmake warnings 2026-03-22 11:54:02 +01:00
David Redondo
15f108b536 Remove unneeded Qt version check 2026-03-02 10:46:31 +01:00
Vlad Zahorodnii
dd76feea81 Add Window::screenConfiguration() shim
This shim is for 6.6 to maintain compatibility with previous versions.
2026-01-20 14:35:22 +02:00
Vlad Zahorodnii
430ad3630f Allow specifying explicit desired screen
If the window position is not specified, which is a reasonable thing to
do when using the layer shell protocol, setWidth() and setHeight() can
unintentionally change the screen() to the wrong one.

This change adds a setScreen() function so it's harder to shoot
yourself in the foot while using the layer shell protocol.
2026-01-20 14:12:23 +02:00
Bhushan Shah
68df285294 Update version for new release 6.6.80 2026-01-13 21:58:51 +05:30
3 changed files with 5 additions and 8 deletions

View File

@@ -9,4 +9,4 @@ Dependencies:
'third-party/wayland-protocols': '@latest' 'third-party/wayland-protocols': '@latest'
Options: Options:
require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows'] require-passing-tests-on: ['@all']

View File

@@ -4,13 +4,13 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
project(layershellqt) project(layershellqt)
set(PROJECT_VERSION "6.6.5") set(PROJECT_VERSION "6.7.80")
set(PROJECT_VERSION_MAJOR 6) set(PROJECT_VERSION_MAJOR 6)
set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD 99)
set(QT_MIN_VERSION "6.10.0") set(QT_MIN_VERSION "6.10.0")
set(KF6_MIN_VERSION "6.22.0") set(KF6_MIN_VERSION "6.26.0")
set(KDE_COMPILERSETTINGS_LEVEL "5.82") set(KDE_COMPILERSETTINGS_LEVEL "5.82")
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
@@ -37,7 +37,7 @@ include(ECMGenerateExportHeader)
find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml) find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml)
if (Qt6WaylandClient_VERSION VERSION_GREATER_EQUAL "6.10.0") if (Qt6WaylandClient_VERSION VERSION_GREATER_EQUAL "6.10.0")
find_package(Qt6WaylandClientPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) find_package(Qt6WaylandClientPrivate ${QT_MIN_VERSION} REQUIRED NO_MODULE)
endif() endif()
find_package(WaylandScanner REQUIRED) find_package(WaylandScanner REQUIRED)

View File

@@ -7,11 +7,8 @@ add_library(LayerShellQtInterface)
qt6_extract_metatypes(LayerShellQtInterface) qt6_extract_metatypes(LayerShellQtInterface)
if (Qt6_VERSION VERSION_GREATER_EQUAL "6.8.0")
set(private_code_option "PRIVATE_CODE")
endif()
qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface
${private_code_option} PRIVATE_CODE
FILES FILES
${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml
${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml ${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml