Using the Tizen application manager to receive information about installed apps and...
[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 QT       += core gui dbus
16
17 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
18
19 TARGET = HomeScreen
20 TEMPLATE = app
21
22 SOURCES += \
23     src/main.cpp \
24     src/mainwindow.cpp \
25     src/settingswidget.cpp \
26     src/popupwidget.cpp \
27     src/controlbarwidget.cpp \
28     src/statusbarwidget.cpp \
29     src/applauncherwidget.cpp \
30     src/homescreencontrolinterface.cpp
31
32 HEADERS  += \
33     ../interfaces/appframework.h \
34     ../interfaces/daynightmode.h \
35     ../interfaces/popup.h \
36     ../interfaces/statusbar.h \
37     src/mainwindow.h \
38     src/settingswidget.h \
39     src/popupwidget.h \
40     src/controlbarwidget.h \
41     src/statusbarwidget.h \
42     src/applauncherwidget.h \
43     src/homescreencontrolinterface.h
44
45 INCLUDEPATH += $$OUT_PWD/../interfaces
46 INCLUDEPATH += ../interfaces/
47
48 LIBS += -L$$OUT_PWD/../interfaces -linterfaces
49
50
51 FORMS    += \
52     resources/mainwindow.ui \
53     resources/settingswidget.ui \
54     resources/popupwidget.ui \
55     resources/controlbarwidget.ui \
56     resources/statusbarwidget.ui \
57     resources/applauncherwidget.ui
58
59 TRANSLATIONS = \
60     resources/translations/homescreen_en_US.ts \
61     resources/translations/homescreen_de_DE.ts \
62     resources/translations/homescreen_ja_JP.ts
63
64 OTHER_FILES += \
65     README.md
66
67 RESOURCES += \
68     resources/homescreen.qrc
69
70 copydata.commands = $(COPY_DIR) $$PWD/resources/colorschemes $$OUT_PWD
71 HomeScreen.depends = $(HomeScreen) copydata
72 export(HomeScreen.depends)
73 export(copydata.commands)
74 QMAKE_EXTRA_TARGETS += HomeScreen copydata
75
76 # remove generated files
77 QMAKE_CLEAN += -r \
78     $$OUT_PWD/colorschemes \
79     $$OUT_PWD/HomeScreen \
80     $$OUT_PWD/Makefile