kdeconnect-kde/urlhandler/CMakeLists.txt
Albert Vaca Cintora 475a4c2ca8 Add missing QQuickStyle::setStyle calls
Calls `QQuickStyle::setStyle("breeze")` everywhere we were
calling `QApplication::setStyle("org.kde.desktop")`.
2024-10-18 11:38:57 +00:00

24 lines
757 B
CMake

add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-urlhandler")
ki18n_wrap_ui(telhandler_SRCS dialog.ui)
qt_add_resources(kdeconnect_custom_icons_SRCS ${CMAKE_SOURCE_DIR}/icons/custom_icons.qrc)
add_executable(kdeconnect-handler kdeconnect-handler.cpp ${telhandler_SRCS} ${kdeconnect_custom_icons_SRCS})
target_link_libraries(kdeconnect-handler
kdeconnectinterfaces
kdeconnectcore
kdeconnectversion
Qt::Widgets
Qt::QuickControls2
KF6::CoreAddons
KF6::ConfigWidgets
KF6::DBusAddons
KF6::I18n
KF6::KIOCore KF6::KIOFileWidgets KF6::KIOWidgets KF6::Crash
)
install(TARGETS kdeconnect-handler ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kdeconnect.handler.desktop DESTINATION ${KDE_INSTALL_APPDIR} )