2022-07-22 04:17:29 +08:00
|
|
|
TARGET = jkqtmathtext_test
|
|
|
|
TEMPLATE
|
2018-12-29 00:46:47 +08:00
|
|
|
|
|
|
|
SOURCES += jkqtmathtext_test.cpp \
|
|
|
|
testform.cpp
|
|
|
|
|
|
|
|
HEADERS += testform.h
|
|
|
|
|
2022-07-22 04:17:29 +08:00
|
|
|
FORMS += testform.ui
|
2018-12-29 00:46:47 +08:00
|
|
|
|
2022-07-22 04:17:29 +08:00
|
|
|
include($$PWD/asana.pri)
|
2018-12-29 00:46:47 +08:00
|
|
|
|
|
|
|
DEFINES += AUTOLOAD_XITS_FONTS AUTOLOAD_Asana_FONTS
|
|
|
|
|
2022-07-22 04:17:29 +08:00
|
|
|
CONFIG += link_prl qt windows
|
|
|
|
QT += core gui svg xml
|
2018-12-29 00:46:47 +08:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
|
|
|
2019-06-21 04:24:47 +08:00
|
|
|
DEPENDPATH += ../../lib ../../qmake/staticlib/jkqtmathtextlib
|
2018-12-29 00:46:47 +08:00
|
|
|
INCLUDEPATH += ../../lib
|
|
|
|
CONFIG (debug, debug|release) {
|
2019-06-21 04:24:47 +08:00
|
|
|
DEPENDPATH += ../../qmake/staticlib/jkqtmathtextlib/debug
|
|
|
|
LIBS += -L../../qmake/staticlib/jkqtmathtextlib/debug -ljkqtmathtextlib_debug
|
2018-12-29 00:46:47 +08:00
|
|
|
} else {
|
2019-06-21 04:24:47 +08:00
|
|
|
DEPENDPATH += ../../qmake/staticlib/jkqtmathtextlib/release
|
|
|
|
LIBS += -L../../qmake/staticlib/jkqtmathtextlib/release -ljkqtmathtextlib
|
2018-12-29 00:46:47 +08:00
|
|
|
}
|
|
|
|
message("LIBS = $$LIBS")
|
2019-05-30 17:19:56 +08:00
|
|
|
|
|
|
|
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
|
|
|
win32-msvc*: DEFINES += NOMINMAX
|