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

38 lines
771 B
Diff
Raw Normal View History

2015-09-11 17:13:25 +00:00
From 755d3ac64401a27b01258fd488b435b30fc53cb1 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
2015-09-11 17:13:25 +00:00
Date: Fri, 11 Sep 2015 07:23:30 +0200
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-09-11 17:13:25 +00:00
index 66f99e9..f375e7e 100644
2013-11-04 19:51:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2015-09-11 17:13:25 +00:00
@@ -480,7 +480,7 @@ unix {
}
DEFINES += HUNSPELL_STATIC
-include(hunspell/hunspell.pri)
+include(hunspell.pri)
include(qcodeedit/qcodeedit.pri)
@@ -665,6 +665,11 @@ else {
QMAKE_LFLAGS -= -Wl,-s
QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
-
2014-09-09 19:11:27 +00:00
+# enable use of pkgconfig
+unix {
+ CONFIG += link_pkgconfig
+ # use system hunspell
+ PKGCONFIG += hunspell
2015-09-11 17:13:25 +00:00
+}
2011-08-13 16:45:40 +00:00
--
2015-09-11 17:13:25 +00:00
2.4.3