shift-shell/components/rotationplugin/CMakeLists.txt
Micah Stanley 9bd4f0b747 GestureNavigation: Screen Rotation Popup Button
Implementation of a popup button to rotate the screen while using gesture navigation.

The button is set to appear when the device rotates while auto rotation is off. Then the button will be visible for a short period of time before disappearing.
2025-04-21 22:09:14 +00:00

18 lines
No EOL
485 B
CMake

# SPDX-FileCopyrightText: 2025 Micah Stanley <stanleymicah@proton.me>
# SPDX-License-Identifier: GPL-2.0-or-later
ecm_add_qml_module(rotationplugin URI org.kde.plasma.private.mobileshell.rotationplugin GENERATE_PLUGIN_SOURCE)
target_sources(rotationplugin PRIVATE rotationutil.cpp)
target_link_libraries(rotationplugin PRIVATE
Qt::Gui
Qt::DBus
Qt::Qml
Qt::Quick
Qt::Sensors
Plasma::Plasma
KF6::Screen
Qt::Qml
)
ecm_finalize_qml_module(rotationplugin)