-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHeadsetControl-Qt.pro
53 lines (40 loc) · 1.39 KB
/
HeadsetControl-Qt.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
QT += core gui qml quick quickcontrols2
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17 silent lrelease embed_translations qtquickcompiler
QM_FILES_RESOURCE_PREFIX=/translations
DEPENDENCIES_DIR = $$PWD/dependencies
DEST_DIR = $$OUT_PWD/release/dependencies
INCLUDEPATH += \
ShortcutManager \
HeadsetControlQt \
Utils \
Worker
SOURCES += \
ShortcutManager/ShortcutManager.cpp \
Worker/Worker.cpp \
main.cpp \
HeadsetControlQt/HeadsetControlQt.cpp \
Utils/Utils.cpp
HEADERS += \
ShortcutManager/ShortcutManager.h \
HeadsetControlQt/HeadsetControlQt.h \
Utils/Utils.h \
Worker/Worker.h
TRANSLATIONS += \
Resources/tr/HeadsetControl-Qt_fr.ts \
Resources/tr/HeadsetControl-Qt_en.ts \
Resources/tr/HeadsetControl-Qt_hu.ts \
Resources/tr/HeadsetControl-Qt_es.ts \
Resources/tr/HeadsetControl-Qt_de.ts \
Resources/tr/HeadsetControl-Qt_it.ts \
Resources/tr/HeadsetControl-Qt_tr.ts
RESOURCES += \
Resources/resources.qrc
RC_FILE = Resources/appicon.rc
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
win32 {
QMAKE_POST_LINK += powershell -Command "New-Item -ItemType Directory -Path '$$DEST_DIR' -Force; Copy-Item -Path '$$DEPENDENCIES_DIR\*' -Destination '$$DEST_DIR' -Recurse -Force"
}