Fix notifications on Android
Bundle the notifyrc file in qrc so that KNotifications finds it
This commit is contained in:
committed by
Carl Schwan
parent
d71ccc46d0
commit
5e1adf7ea7
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user