-
Notifications
You must be signed in to change notification settings - Fork 9
/
Schticker-Book-Rewritten.pro
92 lines (81 loc) · 2.8 KB
/
Schticker-Book-Rewritten.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
#-------------------------------------------------
#
# Project created by QtCreator 2015-12-29T13:25:12
#
#-------------------------------------------------
# Copyright (c) 2015-2016 Joshua Snyder
# Distributed under the GNU GPL v3. For full terms see the file LICENSE
#
# This file is part of Shticker Book Rewritten.
#
# Shticker Book Rewritten is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Shticker Book Rewritten is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Shticker Book Rewritten. If not, see <http://www.gnu.org/licenses/>.
QT += core gui webenginewidgets network widgets
lessThan(QT_MAJOR_VERSION, 5): error("This program requires Qt 5 or higher")
TARGET = shticker-book-rewritten
TEMPLATE = app
SOURCES += main.cpp\
launcherwindow.cpp \
updateworker.cpp \
jsonworker.cpp \
extractionworker.cpp \
downloadworker.cpp \
loginworker.cpp \
twofactorwindow.cpp \
patchworker.cpp \
filelocationchooser.cpp \
utilities.cpp
HEADERS += launcherwindow.h \
globaldefines.h \
updateworker.h \
jsonworker.h \
extractionworker.h \
downloadworker.h \
loginworker.h \
twofactorwindow.h \
patchworker.h \
filelocationchooser.h \
utilities.h
FORMS += launcherwindow.ui \
twofactorwindow.ui \
filelocationchooser.ui
RESOURCES += \
resources.qrc
LIBS += -lbz2
DISTFILES += LICENSE
unix:!mac {
isEmpty(PREFIX):PREFIX = /usr
BINDIR = $$PREFIX/bin
INSTALLS += target
target.path = $$BINDIR
DATADIR = $$PREFIX/share
PKGDATADIR = $$DATADIR/shticker-book-rewritten
DEFINES += DATADIR=\\\"$$DATADIR\\\" \
PKGDATADIR=\\\"$$PKGDATADIR\\\"
INSTALLS += desktop \
icon32 \
icon64 \
icon128 \
icon256
desktop.path = $$DATADIR/applications
desktop.files += shticker-book-rewritten.desktop
icon32.path = $$DATADIR/icons/hicolor/32x32/apps
icon32.files += resources/32x32/shticker-book-rewritten.png
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
icon64.files += resources/64x64/shticker-book-rewritten.png
icon128.path = $$DATADIR/icons/hicolor/128x128/apps
icon128.files += resources/128x128/shticker-book-rewritten.png
icon256.path = $$DATADIR/icons/hicolor/256x256/apps
icon256.files += resources/256x256/shticker-book-rewritten.png
}
RC_FILE = windows/shticker-book-rewritten.rc