summaryrefslogtreecommitdiffstats
path: root/basicsuite/ebike-ui/app.pro
blob: 28d73fae1af951db7e504f26c2ec824e38142d59 (plain)
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
QT += quick widgets quickcontrols2
CONFIG += c++11
TARGET = ebike

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# Uncomment to build ebike demo as separate which does not rely on shared functionality of B2qt launcher
DEFINES += STANDALONE

# Uncomment to use only app provided fonts and not common shared fonts
# When providing own fonts use fonts.files and fonts.qrc file to provide those
DEFINES += USE_APP_FONTS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

contains(DEFINES, STANDALONE) {
    SOURCES += \
        main.cpp \
        applicationsettings.cpp

    HEADERS += \
        applicationsettings.h

    content.files = \
        StandaloneMain.qml

    RESOURCES += qc2conf.qrc
} else {
    content.files += \
        qtquickcontrols2.conf
}

include(../shared/shared.pri)


content.files += \
    main.qml \
    NaviPage.qml \
    StatsPage.qml \
    MainPage.qml \
    SpeedView.qml \
    StatsBox.qml \
    NaviBox.qml \
    LightsBox.qml \
    ModeBox.qml \
    ClockView.qml \
    MusicPlayer.qml \
    ConfigurationDrawer.qml \
    IconifiedTabButton.qml \
    GeneralTab.qml \
    ColumnSpacer.qml \
    BikeInfoTab.qml \
    TripChart.qml \
    FpsItem.qml \
    NaviGuide.qml \
    NaviTripInfo.qml \
    ViewTab.qml \
    StatsRow.qml \
    ConfigurationItem.qml \
    NaviButton.qml \
    ToggleSwitch.qml \
    moment.js \
    mostrecent.bson

images.files = \
    images/lights_off.png \
    images/lights_on.png \
    images/map-marker.png \
    images/trip.png \
    images/calories.png \
    images/nextsong.png \
    images/nextsong_pressed.png \
    images/play.png \
    images/play_pressed.png \
    images/prevsong.png \
    images/prevsong_pressed.png \
    images/speed.png \
    images/battery.png \
    images/assist.png \
    images/arrow_left.png \
    images/top_curtain_drag.png \
    images/spinner.png \
    images/checkmark.png \
    images/nav_left.png \
    images/nav_right.png \
    images/nav_straight.png \
    images/small_speedometer_arrow.png \
    images/map_locate.png \
    images/map_zoomin.png \
    images/map_zoomout.png \
    images/info.png \
    images/info_selected.png \
    images/list.png \
    images/list_selected.png \
    images/settings.png \
    images/settings_selected.png \
    images/curtain_up_arrow.png \
    images/search.png \
    images/search_cancel.png \
    images/fps_icon.png \
    images/arrow_right.png \
    images/curtain_shadow_handle.png \
    images/map_btn_shadow.png \
    images/map_destination.png \
    images/map_location_arrow.png \
    images/small_speedometer_shadow.png \
    images/navigation_widget_shadow.png \
    images/small_input_box_shadow.png \
    images/nav_bear_l.png \
    images/nav_bear_r.png \
    images/nav_hard_l.png \
    images/nav_hard_r.png \
    images/nav_light_left.png \
    images/nav_light_right.png \
    images/nav_nodir.png \
    images/nav_uturn_l.png \
    images/nav_uturn_r.png \
    images/pause.png \
    images/pause_pressed.png \
    images/ok.png \
    images/warning.png \
    images/bike-battery.png \
    images/bike-brakes.png \
    images/bike-chain.png \
    images/bike-frontwheel.png \
    images/bike-gears.png \
    images/bike-rearwheel.png \
    images/bike-light.png \
    images/blue_circle_gps_area.png

style.files = \
    BikeStyle/Colors.qml \
    BikeStyle/qmldir \
    BikeStyle/UILayout.qml

style.path = $$DESTPATH/BikeStyle

fonts.files = \
    fonts/Montserrat-BlackItalic.ttf \
    fonts/Montserrat-Bold.ttf \
    fonts/Montserrat-ExtraLightItalic.ttf \
    fonts/Montserrat-LightItalic.ttf \
    fonts/Montserrat-Medium.ttf \
    fonts/Montserrat-SemiBold.ttf \
    fonts/Montserrat-Black.ttf \
    fonts/Montserrat-ExtraBoldItalic.ttf \
    fonts/Montserrat-ExtraLight.ttf \
    fonts/Montserrat-Light.ttf \
    fonts/Montserrat-Regular.ttf \
    fonts/Montserrat-ThinItalic.ttf \
    fonts/Montserrat-BoldItalic.ttf \
    fonts/Montserrat-ExtraBold.ttf \
    fonts/Montserrat-Italic.ttf \
    fonts/Montserrat-MediumItalic.ttf \
    fonts/Montserrat-SemiBoldItalic.ttf \
    fonts/Montserrat-Thin.ttf \
    fonts/Teko-Bold.ttf \
    fonts/Teko-Regular.ttf \
    fonts/Teko-Medium.ttf \
    fonts/Teko-Light.ttf \
    fonts/Teko-SemiBold.ttf