diff --git a/CMakeLists.txt b/CMakeLists.txt index c1e5a466..716a707f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ if(Qt6_VERSION VERSION_GREATER_EQUAL 6.10) endif() find_package(Dtk6 REQUIRED COMPONENTS Core) find_package(Threads REQUIRED) -find_package(TreelandProtocols REQUIRED) +find_package(TreelandProtocols 0.6.0 REQUIRED) # Check if dde-api provides EventLogger (header-only) find_package(DDEAPI QUIET) diff --git a/src/dbus/CMakeLists.txt b/src/dbus/CMakeLists.txt index dce45f70..7a2efcc6 100644 --- a/src/dbus/CMakeLists.txt +++ b/src/dbus/CMakeLists.txt @@ -21,7 +21,7 @@ endif() qt_generate_wayland_protocol_client_sources(dde_am_dbus FILES - ${TREELAND_PROTOCOLS_DATA_DIR}/treeland-prelaunch-splash-v2.xml + ${TREELAND_PROTOCOLS_DATA_DIR}/treeland-prelaunch-splash-unstable-v2.xml ) target_sources(dde_am_dbus PRIVATE diff --git a/src/dbus/prelaunchsplashhelper.h b/src/dbus/prelaunchsplashhelper.h index a105ed81..f3e0ea69 100644 --- a/src/dbus/prelaunchsplashhelper.h +++ b/src/dbus/prelaunchsplashhelper.h @@ -13,7 +13,7 @@ #include #include -#include "qwayland-treeland-prelaunch-splash-v2.h" +#include "qwayland-treeland-prelaunch-splash-unstable-v2.h" // Wayland C types struct wl_buffer;