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

37 lines
782 B
Diff
Raw Normal View History

2014-09-09 19:11:27 +00:00
From 7ac1dda09bf5241aca7c09af5fac5c173a6ea653 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
2014-09-09 19:11:27 +00:00
Date: Tue, 9 Sep 2014 20:27:22 +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
2014-09-09 19:11:27 +00:00
index 4f778dd..e125fef 100644
2013-11-04 19:51:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2014-09-09 19:11:27 +00:00
@@ -466,7 +466,7 @@ unix {
2013-11-02 07:44:06 +00:00
}
2013-11-04 19:51:30 +00:00
DEFINES += HUNSPELL_STATIC
2013-11-02 07:44:06 +00:00
-include(hunspell/hunspell.pri)
+include(hunspell.pri)
include(qcodeedit/qcodeedit.pri)
2014-09-09 19:11:27 +00:00
@@ -672,4 +672,9 @@ else {
2013-06-16 08:51:04 +00:00
QMAKE_LFLAGS -= -Wl,-s
QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
2013-11-04 19:51:30 +00:00
-
2014-09-09 19:11:27 +00:00
+# enable use of pkgconfig
+unix {
+ CONFIG += link_pkgconfig
+ # use system hunspell
+ PKGCONFIG += hunspell
+}
2011-08-13 16:45:40 +00:00
--
2014-06-20 17:40:50 +00:00
1.9.3
2011-08-13 16:45:40 +00:00