mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 14:24:45 +00:00
Link to QtQml/QtQuick instead of KDeclarative targets
We actually don'T need any of those classes
This commit is contained in:
parent
238d8a78cf
commit
749bb82ace
7 changed files with 50 additions and 57 deletions
|
|
@ -65,7 +65,6 @@ find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
|
||||||
ModemManagerQt
|
ModemManagerQt
|
||||||
NetworkManagerQt
|
NetworkManagerQt
|
||||||
KCMUtils
|
KCMUtils
|
||||||
Declarative
|
|
||||||
Package
|
Package
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,11 @@ set(flashlightplugin_SRCS
|
||||||
add_library(flashlightplugin ${flashlightplugin_SRCS})
|
add_library(flashlightplugin ${flashlightplugin_SRCS})
|
||||||
|
|
||||||
target_link_libraries(flashlightplugin
|
target_link_libraries(flashlightplugin
|
||||||
PUBLIC
|
|
||||||
Qt::Core
|
Qt::Core
|
||||||
PRIVATE
|
Qt::Qml
|
||||||
|
Qt::Quick
|
||||||
Qt::DBus
|
Qt::DBus
|
||||||
KF6::CoreAddons
|
KF6::CoreAddons
|
||||||
KF6::QuickAddons
|
|
||||||
KF6::ConfigCore
|
KF6::ConfigCore
|
||||||
KF6::ConfigGui
|
KF6::ConfigGui
|
||||||
KF6::I18n
|
KF6::I18n
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,11 @@ kconfig_add_kcfg_files(nightcolorplugin_SRCS nightcolorsettings.kcfgc GENERATE_M
|
||||||
add_library(nightcolorplugin ${nightcolorplugin_SRCS})
|
add_library(nightcolorplugin ${nightcolorplugin_SRCS})
|
||||||
|
|
||||||
target_link_libraries(nightcolorplugin
|
target_link_libraries(nightcolorplugin
|
||||||
PUBLIC
|
|
||||||
Qt::Core
|
Qt::Core
|
||||||
PRIVATE
|
|
||||||
Qt::DBus
|
Qt::DBus
|
||||||
|
Qt::Qml
|
||||||
|
Qt::Quick
|
||||||
KF6::CoreAddons
|
KF6::CoreAddons
|
||||||
KF6::QuickAddons
|
|
||||||
KF6::ConfigCore
|
KF6::ConfigCore
|
||||||
KF6::ConfigGui
|
KF6::ConfigGui
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -11,11 +11,10 @@ add_library(powermenuplugin ${powermenuplugin_SRCS})
|
||||||
find_package(LibKWorkspace)
|
find_package(LibKWorkspace)
|
||||||
|
|
||||||
target_link_libraries(powermenuplugin
|
target_link_libraries(powermenuplugin
|
||||||
PUBLIC
|
|
||||||
Qt::Core
|
Qt::Core
|
||||||
PRIVATE
|
Qt::Qml
|
||||||
|
Qt::Quick
|
||||||
KF6::CoreAddons
|
KF6::CoreAddons
|
||||||
KF6::QuickAddons
|
|
||||||
PW::KWorkspace
|
PW::KWorkspace
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,11 @@ set(recordplugin_SRCS
|
||||||
add_library(recordplugin ${recordplugin_SRCS})
|
add_library(recordplugin ${recordplugin_SRCS})
|
||||||
|
|
||||||
target_link_libraries(recordplugin
|
target_link_libraries(recordplugin
|
||||||
PUBLIC
|
|
||||||
Qt::Core
|
Qt::Core
|
||||||
PRIVATE
|
|
||||||
Qt::DBus
|
Qt::DBus
|
||||||
|
Qt::Qml
|
||||||
|
Qt::Quick
|
||||||
KF6::CoreAddons
|
KF6::CoreAddons
|
||||||
KF6::QuickAddons
|
|
||||||
KF6::ConfigCore
|
KF6::ConfigCore
|
||||||
KF6::ConfigGui
|
KF6::ConfigGui
|
||||||
KF6::I18n
|
KF6::I18n
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,11 @@ set(screenrotationplugin_SRCS
|
||||||
add_library(screenrotationplugin ${screenrotationplugin_SRCS})
|
add_library(screenrotationplugin ${screenrotationplugin_SRCS})
|
||||||
|
|
||||||
target_link_libraries(screenrotationplugin
|
target_link_libraries(screenrotationplugin
|
||||||
PUBLIC
|
|
||||||
Qt::Core
|
Qt::Core
|
||||||
PRIVATE
|
Qt::Qml
|
||||||
|
Qt::Quick
|
||||||
Qt::DBus
|
Qt::DBus
|
||||||
KF6::CoreAddons
|
KF6::CoreAddons
|
||||||
KF6::QuickAddons
|
|
||||||
KF6::ConfigCore
|
KF6::ConfigCore
|
||||||
KF6::ConfigGui
|
KF6::ConfigGui
|
||||||
KF6::I18n
|
KF6::I18n
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,11 @@ set(screenshotplugin_SRCS
|
||||||
add_library(screenshotplugin ${screenshotplugin_SRCS})
|
add_library(screenshotplugin ${screenshotplugin_SRCS})
|
||||||
|
|
||||||
target_link_libraries(screenshotplugin
|
target_link_libraries(screenshotplugin
|
||||||
PUBLIC
|
|
||||||
Qt::Core
|
Qt::Core
|
||||||
PRIVATE
|
Qt::Qml
|
||||||
|
Qt::Quick
|
||||||
Qt::DBus
|
Qt::DBus
|
||||||
KF6::CoreAddons
|
KF6::CoreAddons
|
||||||
KF6::QuickAddons
|
|
||||||
KF6::ConfigCore
|
KF6::ConfigCore
|
||||||
KF6::ConfigGui
|
KF6::ConfigGui
|
||||||
KF6::I18n
|
KF6::I18n
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue