First integration of new HMI design
[staging/HomeScreen.git] / HomeScreen / HomeScreen.pro
1 # Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 TEMPLATE = app
16 TARGET = HomeScreen
17 QT = qml quick widgets dbus
18 CONFIG += c++11
19
20 include(../interfaces/interfaces.pri)
21 include(../ivi_layermanagement_api.pri)
22
23 SOURCES += \
24     src/main.cpp \
25     src/mainwindow.cpp \
26     src/settingswidget.cpp \
27     src/popupwidget.cpp \
28     src/controlbarwidget.cpp \
29     src/statusbarwidget.cpp \
30     src/applauncher.cpp \
31     src/homescreencontrolinterface.cpp \
32     src/layouthandler.cpp
33
34 HEADERS  += \
35     src/mainwindow.h \
36     src/settingswidget.h \
37     src/popupwidget.h \
38     src/controlbarwidget.h \
39     src/statusbarwidget.h \
40     src/applauncher.h \
41     src/homescreencontrolinterface.h \
42     src/layouthandler.h
43
44 FORMS    += \
45     resources/mainwindow.ui \
46     resources/settingswidget.ui \
47     resources/popupwidget.ui \
48     resources/controlbarwidget.ui \
49     resources/statusbarwidget.ui \
50     resources/applauncherwidget.ui
51
52 TRANSLATIONS = \
53     resources/translations/homescreen_en_US.ts \
54     resources/translations/homescreen_de_DE.ts \
55     resources/translations/homescreen_ja_JP.ts
56
57 OTHER_FILES += \
58     README.md
59
60
61 HEADERS += \
62     src2/statusbarmodel.h \
63     src2/statusbarserver.h \
64     src2/applicationlauncher.h
65
66 SOURCES += \
67     src2/statusbarmodel.cpp \
68     src2/statusbarserver.cpp \
69     src2/applicationlauncher.cpp
70
71 RESOURCES += \
72     resources/homescreen.qrc
73
74 RESOURCES += \
75     qml/images/MediaPlayer/mediaplayer.qrc \
76     qml/images/MediaMusic/mediamusic.qrc \
77     qml/images/Weather/weather.qrc \
78     qml/images/Shortcut/shortcut.qrc \
79     qml/images/Status/status.qrc \
80     qml/images/images.qrc \
81     qml/qml.qrc
82
83
84 copydata.commands = $(COPY_DIR) $$PWD/resources/colorschemes $$OUT_PWD
85 HomeScreen.depends = $(HomeScreen) copydata
86 export(HomeScreen.depends)
87 export(copydata.commands)
88 QMAKE_EXTRA_TARGETS += HomeScreen copydata