From 556de60a8d8675706c6719de573ead4b6d966711 Mon Sep 17 00:00:00 2001 From: "B.Melnik" Date: Mon, 13 Sep 2021 16:04:38 +0300 Subject: [PATCH] feat(Spellchecking): Add huspell dependency Closes: #397 --- ui/StatusQ/sandbox/sandbox.pro | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/StatusQ/sandbox/sandbox.pro b/ui/StatusQ/sandbox/sandbox.pro index 746501295c..93ee684c41 100644 --- a/ui/StatusQ/sandbox/sandbox.pro +++ b/ui/StatusQ/sandbox/sandbox.pro @@ -24,6 +24,14 @@ macx { CONFIG -= app_bundle OBJECTIVE_SOURCES += \ statuswindow_mac.mm + + hunspellTarget.depends = FORCE + hunspellTarget.commands = brew install hunspell + QMAKE_EXTRA_TARGETS += hunspellTarget + + + LIBS += -L"/usr/local/lib" -lhunspell-1.7 + INCLUDEPATH += /usr/local/include/hunspell } ios {