04aff3cd237e452493d6e80fa672b53645bf956e
[staging/HomeScreen.git] / HomeScreenSimulator / HomeScreenSimulator.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 = HomeScreenSimulator
20 TEMPLATE = app
21
22
23 SOURCES += \
24     src/main.cpp \
25     src/mainwindow.cpp
26
27 HEADERS  += \
28     ../interfaces/daynightmode.h \
29     ../interfaces/popup.h \
30     src/mainwindow.h \
31     $$OUT_PWD/../interfaces/daynightmode_adapter.h \      #generated dbus adapter
32     $$OUT_PWD/../interfaces/daynightmode_proxy.h \        #generated dbus proxy
33     $$OUT_PWD/../interfaces/popup_adapter.h \             #generated dbus adapter
34     $$OUT_PWD/../interfaces/popup_proxy.h \               #generated dbus proxy
35     $$OUT_PWD/../interfaces/statusbar_adapter.h \         #generated dbus adapter
36     $$OUT_PWD/../interfaces/statusbar_proxy.h             #generated dbus proxy
37
38 INCLUDEPATH += $$OUT_PWD/../interfaces
39
40 LIBS += -L$$OUT_PWD/../interfaces -linterfaces
41
42 FORMS    += \
43     resources/mainwindow.ui
44
45 OTHER_FILES += \
46     README.md
47
48 RESOURCES +=
49
50 # remove generated files
51 QMAKE_CLEAN += -r \
52     $$OUT_PWD/HomeScreenSimulator \
53     $$OUT_PWD/Makefile