X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=SampleAppTimeDate%2FSampleAppTimeDate.pro;h=e2ec9e29d24639a47aaa1492f65da8495e3a3fe4;hb=0a468d9b5ae7b3e5ba106facf17698d89b1ce200;hp=0bf4736f0c8952b79a434be2dba5d745be9f69ac;hpb=ca3605ea664834acdf712e691be8f0358b1c6b6f;p=staging%2FHomeScreen.git diff --git a/SampleAppTimeDate/SampleAppTimeDate.pro b/SampleAppTimeDate/SampleAppTimeDate.pro index 0bf4736..e2ec9e2 100644 --- a/SampleAppTimeDate/SampleAppTimeDate.pro +++ b/SampleAppTimeDate/SampleAppTimeDate.pro @@ -1,11 +1,18 @@ -#------------------------------------------------- +# Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH # -# Project created by QtCreator 2016-06-21T13:46:39 +# 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. QT += core dbus - QT -= gui TARGET = SampleAppTimeDate @@ -16,30 +23,20 @@ TEMPLATE = app SOURCES += src/main.cpp \ - $$OUT_PWD/statusbar_proxy.cpp \ #generated dbus proxy src/timedateprovider.cpp HEADERS += \ - $$OUT_PWD/statusbar_proxy.h \ #generated dbus proxy - src/timedateprovider.h + src/timedateprovider.hpp + +INCLUDEPATH += $$OUT_PWD/../interfaces +INCLUDEPATH += ../interfaces + +LIBS += -L$$OUT_PWD/../interfaces -linterfaces OTHER_FILES += \ - interfaces/statusbar.xml \ README.md # remove generated files QMAKE_CLEAN += -r \ - $$OUT_PWD/HomeScreen \ - $$OUT_PWD/Makefile \ - $$OUT_PWD/statusbar_proxy.h \ - $$OUT_PWD/statusbar_proxy.cpp \ - $$OUT_PWD/statusbar_proxy.moc - -# Create custom targets for generating dbus proxy -# for statusbar -statusbargenerateproxy.target = $$OUT_PWD/statusbar_proxy.cpp -unix:statusbargenerateproxy.commands = "$(OE_QMAKE_PATH_EXTERNAL_HOST_BINS)qdbusxml2cpp -m -p statusbar_proxy $$_PRO_FILE_PWD_/../interfaces/statusbar.xml; $(OE_QMAKE_PATH_EXTERNAL_HOST_BINS)moc $$OUT_PWD/statusbar_proxy.h -o $$OUT_PWD/statusbar_proxy.moc" -PRE_TARGETDEPS += \ - $$OUT_PWD/statusbar_proxy.cpp -QMAKE_EXTRA_TARGETS += \ - statusbargenerateproxy + $$OUT_PWD/SampleAppTimeDate \ + $$OUT_PWD/Makefile