forked from savavel/qt-instrument-cluster
-
Notifications
You must be signed in to change notification settings - Fork 3
/
qtcluster-base.pro
111 lines (87 loc) · 1.98 KB
/
qtcluster-base.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
TEMPLATE = app
TARGET = qtcluster
INCLUDEPATH += .
QT += quick serialbus websockets
# Enable for static version
#CONFIG += static
#DEFINES += STATIC
CONFIG += SPORTS_CAR
CONFIG += HYBRID_CAR
#Enable compile flags based on config flags
SPORTS_CAR: DEFINES += SPORTS_CAR
HYBRID_CAR: DEFINES += HYBRID_CAR
qtHaveModule(3drender) {
QT += 3dcore 3drender 3dquick 3dquick-private
HEADERS += \
scenehelper.h
SOURCES += \
scenehelper.cpp
}
CONFIG += resources_big
SOURCES += \
main.cpp \
gauge.cpp \
gaugenode.cpp \
qtiviclusterdata.cpp \
etcprovider.cpp \
circularindicator.cpp
DEFINES += NO_NETWORK
RESOURCES += \
qtcluster.qrc \
RESOURCES += images.qrc
SPORTS_CAR: {
RESOURCES += sportsqml.qrc
RESOURCES += sportscar_15k.qrc
RESOURCES += sportsimages.qrc
}
HYBRID_CAR: {
RESOURCES += \
hybridqml.qrc
RESOURCES += hybridimages.qrc
}
RESOURCES += iso-icons.qrc
ISO_ICONS = \
iso_grs_7000_4_0083 \
iso_grs_7000_4_1434A \
iso_grs_7000_4_0246 \
iso_grs_7000_4_0245 \
iso_grs_7000_4_0247 \
iso_grs_7000_4_1555 \
iso_grs_7000_4_1702 \
iso_grs_7000_4_0249 \
iso_grs_7000_4_0238 \
iso_grs_7000_4_0456
OTHER_FILES += \
qml/* \
qml/dash_sports/* \
qml/dash_hybrid/* \
qml/dash_hybrid/gauges/* \
qml/dash_safety/* \
#win32 | win64: {
# deploy.path = $$OUT_PWD
#} else {
deploy.path = /data/user/qt
#}
#message($$deploy.path)
#qml_data.files += qml/*
#qml_data.path = $$deploy.path/$$TARGET/qml
#font_data.files += fonts/*
#font_data.path = $$deploy.path/$$TARGET/fonts
#image_data.files += images/*
#image_data.path = $$deploy.path/$$TARGET/images
target.path = $$deploy.path/$$TARGET
INSTALLS += \
target \
# video_data \
# qml_data \
# font_data \
# image_data
HEADERS += \
gauge.h \
gaugenode.h \
qtiviclusterdata.h \
etcprovider.h \
circularindicator.h
macos: QMAKE_INFO_PLIST = Info-macos.plist
ios|tvos: QMAKE_INFO_PLIST = Info-ios.plist
DISTFILES +=