-
Notifications
You must be signed in to change notification settings - Fork 0
/
H4KvT.pro
45 lines (33 loc) · 965 Bytes
/
H4KvT.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
TEMPLATE = app
TARGET = H4KvT
VERSION = 1.0
QT += concurrent widgets
CONFIG += c++11
DEFINES += APP_NAME=\\\"$$TARGET\\\" APP_VERSION=\\\"$$VERSION\\\"
SOURCES += $$files(src/*.cpp, true)
HEADERS += $$files(src/*.h, true) $$files(src/*.hpp, true)
!win32 {
MOC_DIR = tmp
OBJECTS_DIR = tmp
RCC_DIR = tmp
}
macx:ICON = img/icon.icns
win32:RC_ICONS = img/icon.ico
RESOURCES += H4KvT.qrc
TRANSLATIONS += $$files(qtr/H4KvT_*.ts)
DISTFILES += LICENSE README* img/* qtr/qt_*.ts qtr/*.qm tst/*
static {
RESOURCES += qtr/qt.qrc
DEFINES += QTR_PATH=\\\":/\\\"
} else {
DISTFILES += qtr/qt.qrc
}
run.depends = $$TARGET
run.commands = $$PWD/$$TARGET
QMAKE_EXTRA_TARGETS += run
qtr.depends = $$SOURCES
qtr.commands = lupdate $$_PRO_FILE_ -locations none && lrelease $$_PRO_FILE_
QMAKE_EXTRA_TARGETS += qtr
QMAKE_TARGET_COPYRIGHT = GPLv3+
QMAKE_TARGET_DESCRIPTION = \43\43\43\43\43
QMAKE_DISTCLEAN += -r tmp debug release object_script.H4KvT.* H4KvT_resource.rc