app: Add the app state events
[apps/onscreenapp.git] / app / app.pro
1 #
2 # Copyright (c) 2019 TOYOTA MOTOR CORPORATION
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 TEMPLATE = app
17 TARGET = onscreenapp
18 QT += quickcontrols2 quick qml gui-private
19 CONFIG += c++11 link_pkgconfig wayland-scanner pkgdatadir
20 DESTDIR = $${OUT_PWD}/../package/root/bin
21 PKGCONFIG += wayland-client
22 #PKGCONFIG += qlibwindowmanager libhomescreen
23
24 HEADERS += \
25     eventhandler.h \
26     onscreenmodel.h
27
28 SOURCES += \
29     eventhandler.cpp \
30     main.cpp \
31     onscreenmodel.cpp
32
33 RESOURCES += \
34         qml.qrc \
35     images/images.qrc
36
37 LIBS += -ljson-c
38
39 WAYLANDCLIENTSOURCES += \
40     protocol/agl-shell-desktop.xml