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

37 lines
766 B
Diff
Raw Normal View History

2016-01-12 21:54:17 +00:00
From 35a5986a51c6949754355e0929ce81039abba506 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
2016-01-12 21:54:17 +00:00
Date: Tue, 12 Jan 2016 22:43:19 +0100
Subject: [PATCH] hunspell patch
2011-08-13 16:45:40 +00:00
---
2016-01-12 21:54:17 +00:00
texstudio.pro | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
2011-08-13 16:45:40 +00:00
2013-11-02 07:44:06 +00:00
diff --git a/texstudio.pro b/texstudio.pro
2016-01-12 21:54:17 +00:00
index d15e2b2..18031c2 100644
2013-11-04 19:51:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2016-01-12 21:54:17 +00:00
@@ -471,7 +471,7 @@ unix {
2015-10-27 06:09:40 +00:00
}
DEFINES += HUNSPELL_STATIC
-include(hunspell/hunspell.pri)
+include(hunspell.pri)
include(qcodeedit/qcodeedit.pri)
2016-01-12 21:54:17 +00:00
@@ -589,3 +589,10 @@ else {
2015-10-27 06:09:40 +00:00
QMAKE_LFLAGS -= -Wl,-s
QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
2016-01-12 21:54:17 +00:00
+# enable use of pkgconfig
2015-10-27 06:09:40 +00:00
+unix {
+ CONFIG += link_pkgconfig
+ # use system hunspell
+ PKGCONFIG += hunspell
+}
2016-01-12 21:54:17 +00:00
+
2011-08-13 16:45:40 +00:00
--
2016-01-12 21:54:17 +00:00
2.5.0