-
Notifications
You must be signed in to change notification settings - Fork 10
/
qt-ponies.pro
91 lines (74 loc) · 1.87 KB
/
qt-ponies.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
QT += core gui network
# Uncomment to enable buggy sound support.
# You will have to add the sounds from the Desktop Ponies project manually.
# CONFIG += USE_SOUND
lessThan(QT_MAJOR_VERSION, 5) {
DEFINES += IS_QT4
USE_SOUND:packagesExist(phonon) {
QT += phonon
DEFINES += USE_PHONON
}
unix:!macx {
LIBS += -lX11 -lXfixes
}
} else {
QT += widgets
USE_SOUND:packagesExist(phonon4qt5) {
QT += phonon4qt5
DEFINES += USE_PHONON
}
}
TARGET = qt-ponies
OBJECTS_DIR = bin
MOC_DIR = src/moc
UI_DIR = src/ui
RCC_DIR = src/rcc
TEMPLATE = app
QMAKE_CXXFLAGS += -std=c++0x -Wextra
SOURCES += src/main.cpp \
src/pony.cpp \
src/behavior.cpp \
src/effect.cpp \
src/speak.cpp \
src/configwindow.cpp \
src/csv_parser.cpp \
src/interaction.cpp \
src/debugwindow.cpp \
src/singleapplication.cpp
HEADERS += \
src/pony.h \
src/behavior.h \
src/effect.h \
src/speak.h \
src/configwindow.h \
src/csv_parser.h \
src/interaction.h \
src/debugwindow.h \
src/singleapplication.h
FORMS += \
src/configwindow.ui \
src/debugwindow.ui
TRANSLATIONS = \
translations/qt-ponies_de.ts \
translations/qt-ponies_ru.ts \
translations/qt-ponies_pl.ts \
translations/qt-ponies_fr.ts \
translations/qt-ponies_el.ts
RESOURCES += qt-ponies.qrc
unix {
isEmpty(PREFIX) {
PREFIX = /usr
}
BINDIR = $${PREFIX}/bin
DATADIR =$${PREFIX}/share
target.path = $$BINDIR
icon.path = $$DATADIR/pixmaps/
icon.files += res/$${TARGET}.png
desktop.path = $$DATADIR/applications/
desktop.files = res/$${TARGET}.desktop
data.path = $$DATADIR/qt-ponies
data.files += desktop-ponies
translations.path = $$DATADIR/qt-ponies/translations/
translations.files = translations/*.qm
INSTALLS += target icon desktop data translations
}