-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPolynomial.pro
57 lines (45 loc) · 1.14 KB
/
Polynomial.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
QT += core gui charts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DESTDIR = $$_PRO_FILE_PWD_/bin
#CONFIG += c++11
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
DEFINES += \
QT_DISABLE_DEPRECATED_BEFORE=0x060000 \ # disables all the APIs deprecated before Qt 6.0.0
_USE_MATH_DEFINES
msvc:{
QMAKE_CXXFLAGS += /std:c++latest
}
gcc:{
QMAKE_CXXFLAGS += \
-std=c++2a \
-Wno-deprecated-copy
}
win32:RC_FILE = main_icon/myapp.rc
SOURCES += \
callout.cpp \
chartview.cpp \
datamodel.cpp \
degreesmodel.cpp \
main.cpp \
mainwindow.cpp \
polynomial.cpp \
tableview.cpp
HEADERS += \
callout.h \
chartview.h \
ctre.hpp \
datamodel.h \
degreesmodel.h \
mainwindow.h \
polynomial.h \
tableview.h \
types.h
FORMS += \
mainwindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
res/res.qrc