From 25a3706d7faa2ced2c921f8b7b1d1835c12cd3ff Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 3 Jul 2025 22:16:15 +0200 Subject: [PATCH] [mobiletaskswitcher] Add missing dependency to QML module The module exposes TaskFilterModel, which extends QSortFilterProxyModel QSortFilterProxyModel is registered to QML as part of the QtCore module, so we need to add that to DEPENDENCIES for tools like qmllint to work properly --- kwin/mobiletaskswitcher/plugin/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kwin/mobiletaskswitcher/plugin/CMakeLists.txt b/kwin/mobiletaskswitcher/plugin/CMakeLists.txt index b4fe4c75..4f211fd1 100644 --- a/kwin/mobiletaskswitcher/plugin/CMakeLists.txt +++ b/kwin/mobiletaskswitcher/plugin/CMakeLists.txt @@ -1,7 +1,11 @@ # SPDX-FileCopyrightText: 2025 Devin Lin # SPDX-License-Identifier: GPL-2.0-or-later -ecm_add_qml_module(mobiletaskswitcherplugin URI org.kde.plasma.private.mobileshell.taskswitcherplugin GENERATE_PLUGIN_SOURCE) +ecm_add_qml_module(mobiletaskswitcherplugin + URI org.kde.plasma.private.mobileshell.taskswitcherplugin + GENERATE_PLUGIN_SOURCE + DEPENDENCIES QtCore +) target_sources(mobiletaskswitcherplugin PRIVATE mobiletaskswitchereffect.cpp