texstudio/texstudio-use-system-hunspe...

38 lines
771 B
Diff
Raw Normal View History

2015-10-27 06:09:40 +00:00
From c48ab724c814e2b825b299ce16d2b4a31f7814de Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
2015-10-27 06:09:40 +00:00
Date: Tue, 27 Oct 2015 06:56:09 +0100
Subject: [PATCH] hunspell_patch
2011-08-13 16:45:40 +00:00
---
2014-03-22 18:10:08 +00:00
texstudio.pro | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
2011-08-13 16:45:40 +00:00
2013-11-02 07:44:06 +00:00
diff --git a/texstudio.pro b/texstudio.pro
2015-10-27 06:09:40 +00:00
index a7a82b4..6cefb60 100644
2013-11-04 19:51:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2015-10-27 06:09:40 +00:00
@@ -486,7 +486,7 @@ unix {
}
DEFINES += HUNSPELL_STATIC
-include(hunspell/hunspell.pri)
+include(hunspell.pri)
include(qcodeedit/qcodeedit.pri)
@@ -671,6 +671,11 @@ else {
QMAKE_LFLAGS -= -Wl,-s
QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
-
+# enable use of pkgconfig
+unix {
+ CONFIG += link_pkgconfig
+ # use system hunspell
+ PKGCONFIG += hunspell
+}
2011-08-13 16:45:40 +00:00
--
2015-09-11 17:13:25 +00:00
2.4.3