2018-12-29 00:46:47 +08:00
|
|
|
include($$PWD/asana.pri)
|
|
|
|
|
|
|
|
LIBS +=
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += jkqtmathtext_test.cpp \
|
|
|
|
testform.cpp
|
|
|
|
|
|
|
|
RCC_DIR = rccs
|
|
|
|
|
2019-02-09 22:25:16 +08:00
|
|
|
CONFIG += link_prl qt windows
|
2018-12-29 00:46:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
TARGET = jkqtmathtext_test
|
|
|
|
|
|
|
|
QT += core gui svg xml
|
|
|
|
|
|
|
|
UI_DIR = .uics
|
|
|
|
|
|
|
|
HEADERS += testform.h
|
|
|
|
|
|
|
|
OBJECTS_DIR = .objs
|
|
|
|
|
|
|
|
INCLUDEPATH +=
|
|
|
|
|
|
|
|
MOC_DIR = .mocs
|
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
testform.ui
|
|
|
|
|
|
|
|
DESTDIR = ./
|
|
|
|
|
|
|
|
DEFINES += AUTOLOAD_XITS_FONTS AUTOLOAD_Asana_FONTS
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
|
|
|
2019-02-09 22:25:16 +08:00
|
|
|
DEPENDPATH += ../../lib ../../staticlib/jkqtmathtextlib
|
2018-12-29 00:46:47 +08:00
|
|
|
INCLUDEPATH += ../../lib
|
|
|
|
CONFIG (debug, debug|release) {
|
2019-02-09 22:25:16 +08:00
|
|
|
DEPENDPATH += ../../staticlib/jkqtmathtextlib/debug
|
|
|
|
LIBS += -L../../staticlib/jkqtmathtextlib/debug -ljkqtmathtextlib_debug
|
2018-12-29 00:46:47 +08:00
|
|
|
} else {
|
2019-02-09 22:25:16 +08:00
|
|
|
DEPENDPATH += ../../staticlib/jkqtmathtextlib/release
|
|
|
|
LIBS += -L../../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
|