Update autobuild scripts
[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
19 CONFIG += c++11 link_pkgconfig
20 DESTDIR = $${OUT_PWD}/../package/root/bin
21 PKGCONFIG += qlibwindowmanager libhomescreen
22
23 CONFIG(release, debug|release) {
24     QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
25 }
26
27 HEADERS += \
28     eventhandler.h \
29     onscreenmodel.h
30
31 SOURCES += \
32     eventhandler.cpp \
33     main.cpp \
34     onscreenmodel.cpp
35
36 RESOURCES += \
37         qml.qrc \
38     images/images.qrc
39
40 LIBS += -ljson-c