mirror of
https://invent.kde.org/network/kdeconnect-kde.git
synced 2025-12-12 20:35:55 +01:00
The KDE Connect QML app has reached the point where it has almost 100% feature parity with the KCM (two features missing only: exporting/importing commands lists for the runcommand plugin, and configuring the applications for the receive notifications plugin). So I think it's time we kill the KCM module and replace it with the nicer looking QML app, removing in the process a whole lot of code duplication.
I originally wrote the KCM module 12 years ago now and it has served us well all this years, but it's time for it to go 😄
22 lines
584 B
CMake
22 lines
584 B
CMake
kdeconnect_add_plugin(kdeconnect_pausemusic)
|
|
|
|
if(WIN32)
|
|
target_sources(kdeconnect_pausemusic PRIVATE pausemusicplugin-win.cpp)
|
|
else()
|
|
target_sources(kdeconnect_pausemusic PRIVATE pausemusicplugin.cpp)
|
|
endif()
|
|
|
|
target_link_libraries(kdeconnect_pausemusic
|
|
kdeconnectcore
|
|
kdeconnectinterfaces
|
|
Qt::Core
|
|
Qt::DBus
|
|
)
|
|
if (WIN32)
|
|
target_link_libraries(kdeconnect_pausemusic windowsapp)
|
|
else()
|
|
target_link_libraries(kdeconnect_pausemusic KF6::PulseAudioQt)
|
|
endif()
|
|
|
|
install(FILES "kdeconnect_pausemusic_config.qml" DESTINATION ${KDE_INSTALL_DATADIR}/kdeconnect)
|