Fix notifications on Android

Bundle the notifyrc file in qrc so that KNotifications finds it
This commit is contained in:
Nicolas Fella
2021-12-22 15:13:48 +01:00
committed by Carl Schwan
parent d71ccc46d0
commit 5e1adf7ea7
5 changed files with 12 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ if(NEOCHAT_FLATPAK)
endif()
if(ANDROID)
target_sources(neochat PRIVATE notifyrc.qrc)
target_link_libraries(neochat PRIVATE Qt5::Svg OpenSSL::SSL)
kirigami_package_breeze_icons(ICONS
"arrow-down"
@@ -113,6 +114,7 @@ if(ANDROID)
)
else()
target_link_libraries(neochat PRIVATE Qt5::Widgets KF5::KIOWidgets)
install(FILES neochat.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
endif()
if(TARGET KF5::DBusAddons)