From 4d8b4c9a0cb9ee40cf36dbf0144fa96556bca487 Mon Sep 17 00:00:00 2001 From: hannes Date: Mon, 4 Nov 2013 20:45:19 +0100 Subject: [PATCH] hunspell_patch --- spellerutility.h | 2 +- texstudio.pro | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/spellerutility.h b/spellerutility.h index 7e1b980..c973220 100644 --- a/spellerutility.h +++ b/spellerutility.h @@ -13,7 +13,7 @@ #include "mostQtHeaders.h" -#include "hunspell/hunspell.hxx" +#include "hunspell.hxx" class SpellerUtility: public QObject { Q_OBJECT public: diff --git a/texstudio.pro b/texstudio.pro index fedf628..bdc454b 100644 --- a/texstudio.pro +++ b/texstudio.pro @@ -433,7 +433,7 @@ unix { } DEFINES += HUNSPELL_STATIC -include(hunspell/hunspell.pri) +include(hunspell.pri) include(qcodeedit/qcodeedit.pri) @@ -624,4 +624,9 @@ else { QMAKE_LFLAGS -= -Wl,-s QMAKE_LFLAGS_RELEASE -= -Wl,-s } - +# enable use of pkgconfig +unix { + CONFIG += link_pkgconfig + # use system hunspell + PKGCONFIG += hunspell +} -- 1.8.3.1