forked from socnetv/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
socnetv.pro
executable file
·193 lines (160 loc) · 4.96 KB
/
socnetv.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
lessThan(QT_VERSION, 5.0) {
error("SocNetV requires at least Qt 5.0!")
}
TARGET = socnetv
TEMPLATE = app
CONFIG = qt thread warn_on release
#CONFIG = qt thread warn_on debug
LANGUAGE = C
# support
QT = xml
QT = network
QT = widgets
QT = printsupport
QT = charts
QT = svg
QT = testlib
# testlib only needed to use QTest::qWait in Chart::getPixmap()...
INCLUDEPATH = ./src
FORMS = src/forms/dialogfilteredgesbyweight.ui \
src/forms/dialogsettings.ui \
src/forms/dialogwebcrawler.ui \
src/forms/dialogdatasetselect.ui \
src/forms/dialograndsmallworld.ui \
src/forms/dialograndscalefree.ui \
src/forms/dialogranderdosrenyi.ui \
src/forms/dialograndregular.ui \
src/forms/dialograndlattice.ui \
src/forms/dialogsimilaritypearson.ui \
src/forms/dialogsimilaritymatches.ui \
src/forms/dialogdissimilarities.ui \
src/forms/dialogclusteringhierarchical.ui \
src/forms/dialognodeedit.ui \
src/forms/dialognodefind.ui \
src/forms/dialogedgedichotomization.ui \
src/forms/dialogexportpdf.ui \
src/forms/dialogexportimage.ui
HEADERS = src/mainwindow.h \
src/texteditor.h \
src/graph.h \
src/graphvertex.h \
src/matrix.h \
src/parser.h \
src/webcrawler.h \
src/chart.h \
src/graphicswidget.h \
src/graphicsedge.h \
src/graphicsedgeweight.h \
src/graphicsedgelabel.h \
src/graphicsguide.h \
src/graphicsnode.h \
src/graphicsnodelabel.h \
src/graphicsnodenumber.h \
src/forms/dialogfilteredgesbyweight.h \
src/forms/dialogedgedichotomization.h \
src/forms/dialogwebcrawler.h \
src/forms/dialogdatasetselect.h \
src/forms/dialogpreviewfile.h \
src/forms/dialognodeedit.h \
src/forms/dialogranderdosrenyi.h \
src/forms/dialograndsmallworld.h \
src/forms/dialograndscalefree.h \
src/forms/dialograndregular.h \
src/forms/dialogsettings.h \
src/forms/dialogsimilaritypearson.h \
src/forms/dialogsimilaritymatches.h \
src/forms/dialogdissimilarities.h \
src/forms/dialogclusteringhierarchical.h \
src/forms/dialograndlattice.h \
src/forms/dialognodefind.h \
src/forms/dialogexportpdf.h \
src/forms/dialogexportimage.h \
src/global.h
SOURCES = src/main.cpp \
src/mainwindow.cpp \
src/texteditor.cpp \
src/graph.cpp \
src/graphvertex.cpp \
src/matrix.cpp \
src/parser.cpp \
src/webcrawler.cpp \
src/chart.cpp \
src/graphicswidget.cpp \
src/graphicsedge.cpp \
src/graphicsedgeweight.cpp \
src/graphicsedgelabel.cpp \
src/graphicsguide.cpp \
src/graphicsnode.cpp \
src/graphicsnodelabel.cpp \
src/graphicsnodenumber.cpp \
src/forms/dialogfilteredgesbyweight.cpp \
src/forms/dialogedgedichotomization.cpp \
src/forms/dialogwebcrawler.cpp \
src/forms/dialogdatasetselect.cpp \
src/forms/dialogpreviewfile.cpp \
src/forms/dialognodeedit.cpp \
src/forms/dialogranderdosrenyi.cpp \
src/forms/dialograndsmallworld.cpp \
src/forms/dialograndregular.cpp \
src/forms/dialograndscalefree.cpp \
src/forms/dialogsettings.cpp \
src/forms/dialogsimilaritypearson.cpp \
src/forms/dialogsimilaritymatches.cpp \
src/forms/dialogdissimilarities.cpp \
src/forms/dialogclusteringhierarchical.cpp \
src/forms/dialograndlattice.cpp \
src/forms/dialognodefind.cpp \
src/forms/dialogexportpdf.cpp \
src/forms/dialogexportimage.cpp
RESOURCES = src/src.qrc
# This is Windows only
win32 {
RC_FILE = src/icon.rc
TARGET = SocNetV
target.path = release/
}
# This is Linux/Unix only
unix:!macx{
# isEmpty(PREFIX) {
# PREFIX = /usr/local
# }
# # workaround for Debian/Ubuntu deb-helper
# equals(PREFIX,"/usr/local") {
# PREFIX = /usr/local
# } else {
# PREFIX = /usr
#}
# No matter what PREFIX the user enters when
# executing qmake to create the Makefile,
# we always set it to be /usr because
# it simplifies the .travis CI and .deb creation
# The user may still install to a different folder
# with the command:
# make INSTALL_ROOT=<folder> install;
PREFIX = /usr
target.path = $${PREFIX}/bin
TARGET = socnetv
pixmap.path = $${PREFIX}/share/pixmaps
pixmap.files = src/images/socnetv.png
# documentation.path = $${PREFIX}/share/doc/socnetv
# documentation.files = manual
desktop.path = $${PREFIX}/share/applications
desktop.files = socnetv.desktop
manpage.path = $${PREFIX}/share/man/man1
manpage.files = man/socnetv.1.gz
appstream.path = $${PREFIX}/share/metainfo
appstream.files = socnetv.appdata.xml
translations.path = $${PREFIX}/share/socnetv
translations.files = translations/socnetv_*.qm
doc.path = $${PREFIX}/share/doc/socnetv
doc.files = changelog.gz NEWS README.md TODO COPYING AUTHORS INSTALL
INSTALLS = pixmap desktop manpage translations doc appstream
}
# This is MacOS only
macx {
ICON = src/images/socnetv.icns
TARGET = SocNetV
}
INSTALLS = target
TRANSLATIONS = translations/socnetv_es.ts \
translations/socnetv_de.ts