2019-05-30 04:40:02 +08:00
|
|
|
# include guard against multiple inclusion
|
|
|
|
isEmpty(JKQTP_COMMON_PRI_INCLUDED) {
|
|
|
|
JKQTP_COMMON_PRI_INCLUDED = 1
|
|
|
|
|
|
|
|
!win32-msvc* {
|
|
|
|
QMAKE_CXXFLAGS += -fexceptions
|
|
|
|
} else {
|
|
|
|
QMAKE_CXXFLAGS += /EHsc
|
|
|
|
# /std:c++14
|
|
|
|
# To enable M_PI, M_E,...
|
|
|
|
DEFINES += _USE_MATH_DEFINES
|
|
|
|
# To fix error: C2338: va_start argument must not
|
|
|
|
# have reference type and must not be parenthesized
|
|
|
|
DEFINES += _CRT_NO_VA_START_VALIDATION
|
2019-05-30 04:47:26 +08:00
|
|
|
# fix errors with min()/max() macros from windows
|
|
|
|
DEFINES += NOMINMAX
|
2019-05-30 04:40:02 +08:00
|
|
|
}
|
|
|
|
|
2019-06-22 20:21:32 +08:00
|
|
|
HEADERS += $$PWD/jkqtcommon/jkqtcommon_imexport.h \
|
2019-06-02 21:38:09 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpdebuggingtools.h \
|
2019-05-30 04:40:02 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpmathtools.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpalgorithms.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstringtools.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtplinalgtools.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpcodestructuring.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpbasicimagetools.h \
|
- improved: geometric objects now use an adaptive drawing algorithm to represent curves (before e.g. ellipses were always separated into a fixed number of line-segments)
- improved: constructors and access functions for several geometric objects (e.g. more constructors, additional functions to retrieve parameters in diferent forms, iterators for polygons, ...)
- new: all geometric objects can either be drawn as graphic element (i.e. lines are straight line, even on non-linear axes), or as mathematical curve (i.e. on non-linear axes, lines become the appropriate curve representing the linear function, connecting the given start/end-points). The only exceptions are ellipses (and the derived arcs,pies,chords), which are always drawn as mathematical curves
2020-09-04 05:08:52 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpgeometrytools.h \
|
2019-05-30 04:40:02 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpdrawingtools.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpenhancedpainter.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtphighrestimer.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpmathparser.h \
|
|
|
|
$$PWD/jkqtcommon/jkqttools.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtparraytools.h \
|
2019-06-12 18:58:47 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpstatisticstools.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstatbasics.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstathistogram.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstatkde.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstatregression.h \
|
2019-06-13 16:27:06 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpstatpoly.h \
|
2022-07-21 03:35:45 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpstatgrouped.h \
|
|
|
|
$$PWD/jkqtcommon/jkqtpicons.h
|
2019-06-13 16:27:06 +08:00
|
|
|
|
2019-05-30 04:40:02 +08:00
|
|
|
|
|
|
|
|
2019-06-02 21:38:09 +08:00
|
|
|
SOURCES += $$PWD/jkqtcommon/jkqtpdebuggingtools.cpp \
|
2019-05-30 04:40:02 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpmathtools.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpalgorithms.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstringtools.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtplinalgtools.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpcodestructuring.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpbasicimagetools.cpp \
|
- improved: geometric objects now use an adaptive drawing algorithm to represent curves (before e.g. ellipses were always separated into a fixed number of line-segments)
- improved: constructors and access functions for several geometric objects (e.g. more constructors, additional functions to retrieve parameters in diferent forms, iterators for polygons, ...)
- new: all geometric objects can either be drawn as graphic element (i.e. lines are straight line, even on non-linear axes), or as mathematical curve (i.e. on non-linear axes, lines become the appropriate curve representing the linear function, connecting the given start/end-points). The only exceptions are ellipses (and the derived arcs,pies,chords), which are always drawn as mathematical curves
2020-09-04 05:08:52 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpgeometrytools.cpp \
|
2019-05-30 04:40:02 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpdrawingtools.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpenhancedpainter.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtphighrestimer.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpmathparser.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqttools.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtparraytools.cpp \
|
2019-06-12 18:58:47 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpstatbasics.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstathistogram.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstatkde.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpstatregression.cpp \
|
2019-06-13 16:27:06 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpstatpoly.cpp \
|
2022-07-21 03:35:45 +08:00
|
|
|
$$PWD/jkqtcommon/jkqtpstatgrouped.cpp \
|
|
|
|
$$PWD/jkqtcommon/jkqtpicons.cpp
|
2019-05-30 04:40:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD
|
|
|
|
|
|
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
}
|