--- texmaker.pro.orig 2017-09-27 20:56:11.941798783 -0400
+++ texmaker.pro 2017-09-28 13:12:10.825887535 -0400
@@ -22,9 +22,12 @@
}
-CONFIG += qt hide_symbols warn_off rtti_off exceptions_off c++11 release
+CONFIG += qt hide_symbols warn_off rtti_off exceptions_off c++11 release qtsingleapplication link_pkgconfig
CONFIG -= precompile_header
+PKGCONFIG += hunspell
+
+
gcc {
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
}
@@ -117,29 +120,6 @@
unicodeview.h \
svnhelper.h \
quickbeamerdialog.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/replist.hxx \
- hunspell/w_char.hxx \
- singleapp/qtlocalpeer.h \
- singleapp/qtlockedfile.h \
- singleapp/qtsingleapplication.h \
- singleapp/qtsinglecoreapplication.h \
encodingprober/CharDistribution.h \
encodingprober/ChineseGroupProber.h \
encodingprober/ctype_test_p.h \
@@ -502,22 +482,6 @@
unicodeview.cpp \
quickbeamerdialog.cpp \
svnhelper.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/replist.cxx \
- hunspell/hunzip.cxx \
- singleapp/qtlocalpeer.cpp \
- singleapp/qtlockedfile.cpp \
- singleapp/qtsingleapplication.cpp \
- singleapp/qtsinglecoreapplication.cpp \
encodingprober/CharDistribution.cpp \
encodingprober/ChineseGroupProber.cpp \
encodingprober/JapaneseGroupProber.cpp \
@@ -1073,8 +1037,7 @@
INSTALLS = target
HEADERS += x11fontdialog.h
-SOURCES += x11fontdialog.cpp \
- singleapp/qtlockedfile_unix.cpp
+SOURCES += x11fontdialog.cpp
FORMS += x11fontdialog.ui
utilities.files = doc/doc10.png \
--- texmakerapp.h.orig 2017-09-27 21:03:36.899684590 -0400
+++ texmakerapp.h 2017-09-27 21:38:38.417264980 -0400
@@ -15,7 +15,7 @@
#include <QTranslator>
#include "texmaker.h"
-#include "singleapp/qtsingleapplication.h"
+#include <QtSolutions/qtsingleapplication.h>
class TexmakerApp : public QtSingleApplication
{