shift-shell/kwin/mobiletaskswitcher/plugin/CMakeLists.txt
Nicolas Fella 25a3706d7f [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
2025-07-04 14:59:13 +02:00

30 lines
684 B
CMake

# SPDX-FileCopyrightText: 2025 Devin Lin <devin@kde.org>
# SPDX-License-Identifier: GPL-2.0-or-later
ecm_add_qml_module(mobiletaskswitcherplugin
URI org.kde.plasma.private.mobileshell.taskswitcherplugin
GENERATE_PLUGIN_SOURCE
DEPENDENCIES QtCore
)
target_sources(mobiletaskswitcherplugin PRIVATE
mobiletaskswitchereffect.cpp
effecttouchborder.cpp
taskfiltermodel.cpp
taskmodel.cpp)
target_link_libraries(mobiletaskswitcherplugin PRIVATE
KF6::ConfigGui
KF6::GlobalAccel
KF6::I18n
KF6::CoreAddons
KF6::WindowSystem
Qt::Quick
Qt::Core
KWin::kwin
Plasma::Activities
)
ecm_finalize_qml_module(mobiletaskswitcherplugin)