blob: 2cf2ec07dca3e88be01b8cf9f0257836f00f0448 [file] [log] [blame]
spellerutility.h | 2 +-
texstudio.pro | 45 ++++++++++++---------------------------------
2 files changed, 13 insertions(+), 34 deletions(-)
diff --git a/spellerutility.h b/spellerutility.h
index 7e1b980..b0bc8b8 100644
--- a/spellerutility.h
+++ b/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 b073255..3d4ee64 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -53,25 +53,6 @@ HEADERS += texmaker.h \
debughelper.h \
thesaurusdialog.h \
xmltagslistwidget.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/w_char.hxx \
- hunspell/replist.hxx \
qcodeedit/lib/qeditorinputbinding.h \
qcodeedit/lib/qeditorinputbindinginterface.h \
qcodeedit/lib/qformat.h \
@@ -171,18 +152,6 @@ SOURCES += main.cpp \
codesnippet.cpp \
thesaurusdialog.cpp \
xmltagslistwidget.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/replist.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/hunzip.cxx \
encodingdialog.cpp \
qcodeedit/lib/qeditorinputbinding.cpp \
qcodeedit/lib/qformat.cpp \
@@ -537,10 +506,14 @@ SOURCES += qcodeedit/lib/qnfa/qnfa.cpp \
# ###############################
# ##########QUAZIP###############
-DEFINES += QUAZIP_STATIC
+#DEFINES += QUAZIP_STATIC
# Input
-include(quazip/quazip/quazip.pri)
+#include(quazip/quazip/quazip.pri)
+unix {
+ INCLUDEPATH += $${PREFIX}/include/quazip
+ LIBS += -lquazip
+}
# ###############################
@@ -677,3 +650,9 @@ else {
QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
+unix {
+ CONFIG += link_pkgconfig
+ # use system quazip
+ # use system hunspell
+ PKGCONFIG += hunspell
+}