# Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. TEMPLATE = app TARGET = HomeScreen QT = qml quick widgets dbus CONFIG += c++11 include(../interfaces/interfaces.pri) include(../ivi_layermanagement_api.pri) SOURCES += \ src/main.cpp \ src/mainwindow.cpp \ src/settingswidget.cpp \ src/popupwidget.cpp \ src/controlbarwidget.cpp \ src/statusbarwidget.cpp \ src/applauncher.cpp \ src/homescreencontrolinterface.cpp \ src/layouthandler.cpp HEADERS += \ src/mainwindow.h \ src/settingswidget.h \ src/popupwidget.h \ src/controlbarwidget.h \ src/statusbarwidget.h \ src/applauncher.h \ src/homescreencontrolinterface.h \ src/layouthandler.h FORMS += \ resources/mainwindow.ui \ resources/settingswidget.ui \ resources/popupwidget.ui \ resources/controlbarwidget.ui \ resources/statusbarwidget.ui \ resources/applauncherwidget.ui TRANSLATIONS = \ resources/translations/homescreen_en_US.ts \ resources/translations/homescreen_de_DE.ts \ resources/translations/homescreen_ja_JP.ts OTHER_FILES += \ README.md HEADERS += \ src2/statusbarmodel.h \ src2/statusbarserver.h \ src2/applicationlauncher.h SOURCES += \ src2/statusbarmodel.cpp \ src2/statusbarserver.cpp \ src2/applicationlauncher.cpp RESOURCES += \ resources/homescreen.qrc RESOURCES += \ qml/images/MediaPlayer/mediaplayer.qrc \ qml/images/MediaMusic/mediamusic.qrc \ qml/images/Weather/weather.qrc \ qml/images/Shortcut/shortcut.qrc \ qml/images/Status/status.qrc \ qml/images/images.qrc \ qml/qml.qrc copydata.commands = $(COPY_DIR) $$PWD/resources/colorschemes $$OUT_PWD HomeScreen.depends = $(HomeScreen) copydata export(HomeScreen.depends) export(copydata.commands) QMAKE_EXTRA_TARGETS += HomeScreen copydata