-
Notifications
You must be signed in to change notification settings - Fork 26
/
socnetv.pro
executable file
·205 lines (169 loc) · 5.46 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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
lessThan(QT_VERSION, 6.0) {
error("SocNetV requires at least Qt 6.0!")
}
MY_TARGET_BUILD = release
#MY_TARGET_BUILD = debug
#ALLOW_WARNINGS = warn_on
ALLOW_WARNINGS = warn_off
TEMPLATE = app
CONFIG += qt thread $${ALLOW_WARNINGS} $${MY_TARGET_BUILD}
TARGET = socnetv
VERSION=3.1
LANGUAGE = C++
# add Qt module support
QT += core
QT += xml
QT += network
QT += widgets
QT += printsupport
QT += charts
QT += svg
QT += core5compat
INCLUDEPATH += ./src
FORMS += src/forms/dialogfilteredgesbyweight.ui \
src/forms/dialogsettings.ui \
src/forms/dialogsysteminfo.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/forms/dialogsysteminfo.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 \
src/forms/dialogsysteminfo.cpp
RESOURCES = src/src.qrc
# This is Windows only
win32 {
VERSION = 3.1.0.1 # major.minor.patch.build
VERSION_PE_HEADER = 3.1
#RC_FILE = src/icon.rc
RC_ICONS = src/images/socnetv.ico
# Company name
QMAKE_TARGET_COMPANY = "socnetv.org"
# Product name
QMAKE_TARGET_PRODUCT = "Social Network Visualizer"
# Document description
QMAKE_TARGET_DESCRIPTION = "SocNetV: Open-source social network analysis application based on Qt."
# Copyright Information
QMAKE_TARGET_COPYRIGHT = "Copyright (C) 2023 Dimitris V. Kalamaras. GPLv3."
TARGET = SocNetV
target.path = release/
}
# This is Linux/Unix only
unix:!macx{
# 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
desktop.path = $${PREFIX}/share/applications
desktop.files = socnetv.desktop
manpage.path = $${PREFIX}/share/man/man1
manpage.files = man/socnetv.1
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 appstream
}
# This is macOS only
macx {
ICON = src/images/socnetv.icns
TARGET = SocNetV
QMAKE_CXXFLAGS = -Wno-unused-variable -Wdeprecated-declarations
QMAKE_CXXFLAGS_WARN_ON = -Wall -Wno-unused-parameter -Wdeprecated-declarations
}
INSTALLS += target
TRANSLATIONS = translations/socnetv_es.ts \
translations/socnetv_de.ts