From ba7a762549297d85e838f07c959786bd35095927 Mon Sep 17 00:00:00 2001 From: hannes Date: Sat, 2 Nov 2013 07:13:52 +0000 Subject: [PATCH] hunspell fix --- spellerutility.h | 2 +- texstudio.pro | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/spellerutility.h b/spellerutility.h index 7e1b980..c973220 100644 --- spellerutility.h +++ 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 d9c9e64..31e1589 100644 --- texstudio.pro +++ texstudio.pro @@ -432,7 +432,7 @@ unix { utilities } -include(hunspell/hunspell.pri) +include(hunspell.pri) include(qcodeedit/qcodeedit.pri) @@ -623,4 +623,10 @@ 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