Skip to content

Commit b3f06ac

Browse files
committed
start of Qt support
1 parent a8f96f0 commit b3f06ac

File tree

2 files changed

+88
-0
lines changed

2 files changed

+88
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Qt-generated files
2+
src/greasepad.pro.user
3+
4+
15
build/
26

37
docs/

src/greasepad.pro

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
QT += core gui svg printsupport
2+
3+
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
4+
5+
CONFIG += c++11
6+
7+
# CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
8+
9+
# The following define makes your compiler emit warnings if you use
10+
# any Qt feature that has been marked deprecated (the exact warnings
11+
# depend on your compiler). Please consult the documentation of the
12+
# deprecated API in order to know how to port your code away from it.
13+
DEFINES += QT_DEPRECATED_WARNINGS
14+
15+
# You can also make your code fail to compile if it uses deprecated APIs.
16+
# In order to do so, uncomment the following line.
17+
# You can also select to disable deprecated APIs only up to a certain version of Qt.
18+
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
19+
20+
SOURCES += \
21+
aabb.cpp \
22+
adjustment.cpp \
23+
conics.cpp \
24+
conncomp.cpp \
25+
constraints.cpp \
26+
main.cpp \
27+
mainwindow.cpp \
28+
mainscene.cpp \
29+
mainview.cpp \
30+
commands.cpp \
31+
matrix.cpp \
32+
qconstraints.cpp \
33+
qformattool.cpp \
34+
qsegment.cpp \
35+
qstroke.cpp \
36+
quantiles.cpp \
37+
state.cpp \
38+
statistics.cpp \
39+
uncertain.cpp \
40+
upoint.cpp \
41+
usegment.cpp \
42+
ustraightline.cpp
43+
44+
HEADERS += \
45+
aabb.h \
46+
adjustment.h \
47+
commands.h \
48+
conics.h \
49+
conncomp.h \
50+
constraints.h \
51+
global.h \
52+
mainwindow.h \
53+
mainscene.h \
54+
mainview.h \
55+
matrix.h \
56+
qconstraints.h \
57+
qformattool.h \
58+
qsegment.h \
59+
qstroke.h \
60+
quantiles.h \
61+
state.h \
62+
statistics.h \
63+
uncertain.h \
64+
upoint.h \
65+
usegment.h \
66+
ustraightline.h
67+
68+
FORMS +=
69+
70+
# Eigen
71+
INCLUDEPATH += C:/Eigen/eigen-3.4.0/source
72+
73+
# Option
74+
INCLUDEPATH += "C:/Program Files (x86)/Visual Leak Detector/include/"
75+
LIBS += -L"C:/Program Files (x86)/Visual Leak Detector/lib/Win64"
76+
77+
RC_ICONS += icons/Tango/preferences-desktop-peripherals.ico
78+
79+
# Default rules for deployment.
80+
qnx: target.path = /tmp/$${TARGET}/bin
81+
else: unix:!android: target.path = /opt/$${TARGET}/bin
82+
!isEmpty(target.path): INSTALLS += target
83+
84+
RESOURCES += greasepad.qrc

0 commit comments

Comments
 (0)