Add SpellChecking to NeoChat

Fix #98
This commit is contained in:
Carl Schwan
2021-06-07 11:31:22 +02:00
parent 23bd73c499
commit 8f309ca958
5 changed files with 144 additions and 3 deletions

View File

@@ -43,8 +43,8 @@ ecm_add_app_icon(NEOCHAT_ICON ICONS ${CMAKE_SOURCE_DIR}/128-logo.png)
target_sources(neochat PRIVATE ${NEOCHAT_ICON})
if(NOT ANDROID)
target_sources(neochat PRIVATE trayicon.cpp colorschemer.cpp)
target_link_libraries(neochat PRIVATE KF5::ConfigWidgets)
target_sources(neochat PRIVATE trayicon.cpp colorschemer.cpp spellcheckhighlighter.cpp)
target_link_libraries(neochat PRIVATE KF5::ConfigWidgets KF5::SonnetCore)
target_compile_definitions(neochat PRIVATE -DHAVE_COLORSCHEME)
endif()