-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathScriptDragon.pro
More file actions
74 lines (60 loc) · 1.7 KB
/
Copy pathScriptDragon.pro
File metadata and controls
74 lines (60 loc) · 1.7 KB
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
TEMPLATE = app
TARGET = ScriptDragon
load(ubuntu-click)
QT += qml quick printsupport
SOURCES += main.cpp \
notecardmanager.cpp \
exportmanager.cpp \
scriptformatter.cpp \
filesaverandloader.cpp \
reportgenerator.cpp \
namegenerator.cpp \
settingsmanager.cpp
RESOURCES += ScriptDragon.qrc
QML_FILES += $$files(*.qml,true) \
$$files(*.js,true)
CONF_FILES += ScriptDragon.apparmor \
ScriptDragon.png #Add ScriptDragon.svg here?
AP_TEST_FILES += tests/autopilot/run \
$$files(tests/*.py,true)
#show all the files in QtCreator
OTHER_FILES += $${CONF_FILES} \
$${QML_FILES} \
$${AP_TEST_FILES} \
ScriptDragon.desktop
#specify where the config files are installed to
config_files.path = /ScriptDragon
config_files.files += $${CONF_FILES}
INSTALLS+=config_files
#install the desktop file, a translated version is
#automatically created in the build directory
desktop_file.path = /ScriptDragon
desktop_file.files = $$OUT_PWD/ScriptDragon.desktop
desktop_file.CONFIG += no_check_exist
INSTALLS+=desktop_file
# Default rules for deployment.
target.path = $${UBUNTU_CLICK_BINARY_PATH}
INSTALLS+=target
DISTFILES += \
CharactersPage.qml \
LocationsPage.qml \
RandomGeneratorsPage.qml \
TextNotecard.qml \
Location.qml \
Character.qml \
../po/scriptdragon.dearingj.pot \
Storyline.qml \
StorylinesPage.qml \
dragon.png \
dragon.xcf \
ScriptDragon.svg
HEADERS += \
notecardmanager.h \
exportmanager.h \
scriptformatter.h \
filesaverandloader.h \
reportgenerator.h \
namegenerator.h \
settingsmanager.h
#QMAKE_CXXFLAGS += -std=c++11
CONFIG += c++11