This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
svgcleaner-gui.pro
108 lines (91 loc) · 2.7 KB
/
svgcleaner-gui.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
QT += core gui widgets concurrent svg
contains(DEFINES, WITH_CHECK_UPDATES) {
QT += network
}
equals(QT_MAJOR_VERSION, 4) {
error("SVG Cleaner depend on Qt >= 5.6")
}
equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 6) {
error("SVG Cleaner depend on Qt >= 5.6")
}
TARGET = SVGCleaner
unix:!mac:TARGET = svgcleaner-gui
DEFINES += QT_NO_FOREACH
TEMPLATE = app
CONFIG += C++11
SOURCES += \
src/aboutdialog.cpp \
src/cleaner.cpp \
src/compressor.cpp \
src/detailsdialog.cpp \
src/doc.cpp \
src/enums.cpp \
src/filesview.cpp \
src/iconutils.cpp \
src/main.cpp \
src/mainwindow.cpp \
src/preferences/attributespage.cpp \
src/preferences/basepreferencespage.cpp \
src/preferences/cleaneroptions.cpp \
src/preferences/elementspage.cpp \
src/preferences/mainpage.cpp \
src/preferences/outputpage.cpp \
src/preferences/pathspage.cpp \
src/preferences/preferencesdialog.cpp \
src/preferences/widgets/dotwidget.cpp \
src/preferences/widgets/iconlistview.cpp \
src/preferences/widgets/warningcheckbox.cpp \
src/process.cpp \
src/settings.cpp \
src/treemodel.cpp
HEADERS += \
src/aboutdialog.h \
src/cleaner.h \
src/compressor.h \
src/detailsdialog.h \
src/doc.h \
src/enums.h \
src/filesview.h \
src/iconutils.h \
src/mainwindow.h \
src/preferences/attributespage.h \
src/preferences/basepreferencespage.h \
src/preferences/cleaneroptions.h \
src/preferences/elementspage.h \
src/preferences/mainpage.h \
src/preferences/outputpage.h \
src/preferences/pathspage.h \
src/preferences/preferencesdialog.h \
src/preferences/widgets/dotwidget.h \
src/preferences/widgets/iconlistview.h \
src/preferences/widgets/warningcheckbox.h \
src/process.h \
src/settings.h \
src/treemodel.h \
src/utils.h
FORMS += \
src/aboutdialog.ui \
src/detailsdialog.ui \
src/mainwindow.ui \
src/preferences/attributespage.ui \
src/preferences/elementspage.ui \
src/preferences/mainpage.ui \
src/preferences/outputpage.ui \
src/preferences/pathspage.ui
contains(DEFINES, WITH_CHECK_UPDATES) {
SOURCES += src/updater.cpp
HEADERS += src/updater.h
}
RESOURCES += icons/icons.qrc data/data.qrc
win32:RC_FILE = icons/icon.rc
mac:ICON = icons/svgcleaner.icns
unix:!mac {
isEmpty (PREFIX):PREFIX = /usr
INSTALLS += desktop logo bin
desktop.path = $$PREFIX/share/applications
desktop.files += svgcleaner.desktop
logo.path = $$PREFIX/share/icons/hicolor/scalable/apps
logo.files += icons/svgcleaner.svg
bin.path = $$PREFIX/bin
bin.files += $$TARGET
}