From ee56add16523ce1e906f7e84c0a9479732caac34 Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Sun, 2 Aug 2015 15:41:47 +0200 Subject: [PATCH] added convenience QMake includes for JKQTmathText --- jkqtmathtext.h | 2 +- jkqtmathtext.pri | 14 ++++++++++++++ jkqtmathtext_with_xits.pri | 3 +++ math_fonts/xits.pri | 2 +- 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 jkqtmathtext.pri create mode 100644 jkqtmathtext_with_xits.pri diff --git a/jkqtmathtext.h b/jkqtmathtext.h index b25a45c6f4..a03e22c99d 100644 --- a/jkqtmathtext.h +++ b/jkqtmathtext.h @@ -20,7 +20,7 @@ /* Name: jkqtmathtext.h - Copyright: (c) 2010 + Copyright: (c) 2010-2015 Author: Jan krieger , http://www.jkrieger.de/ */ diff --git a/jkqtmathtext.pri b/jkqtmathtext.pri new file mode 100644 index 0000000000..64e4b104e0 --- /dev/null +++ b/jkqtmathtext.pri @@ -0,0 +1,14 @@ +HEADERS += $$PWD/jkqtmathtext.h \ + $$PWD/jkqtptools.h \ + $$PWD/jkqtp_imexport.h + + +SOURCES += $$PWD/jkqtmathtext.cpp \ + $$PWD/jkqtptools.cpp + + +INCLUDEPATH += $$PWD + +QT += core gui +win32:LIBS += -lgdi32 +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport diff --git a/jkqtmathtext_with_xits.pri b/jkqtmathtext_with_xits.pri new file mode 100644 index 0000000000..fc81ecf56c --- /dev/null +++ b/jkqtmathtext_with_xits.pri @@ -0,0 +1,3 @@ +include($$PWD/jkqtmathtext.pri) +include($$PWD/math_fonts/xits.pri) +DEFINES += AUTOLOAD_XITS_FONTS diff --git a/math_fonts/xits.pri b/math_fonts/xits.pri index 24a1e9b7db..26b26056bb 100644 --- a/math_fonts/xits.pri +++ b/math_fonts/xits.pri @@ -1 +1 @@ -RESOURCES += xits.qrc +RESOURCES += $$PWD/xits.qrc