Add 2017 to copyright
[staging/HomeScreen.git] / SampleAppTimeDate / SampleAppTimeDate.pro
index 1ae61dd..bcbe095 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+# Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-QT       += core dbus
-QT       -= gui
-
-TARGET = SampleAppTimeDate
-CONFIG   += console
-CONFIG   -= app_bundle
-
 TEMPLATE = app
+TARGET = SampleAppTimeDate
+QT = dbus
 
+include(../interfaces/interfaces.pri)
 
 SOURCES += src/main.cpp \
     src/timedateprovider.cpp
 
 HEADERS += \
-    $$OUT_PWD/../interfaces/statusbar_proxy.h \          #generated dbus proxy
-    src/timedateprovider.h
-
-INCLUDEPATH +=  $$OUT_PWD/../interfaces
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
+    src/timedateprovider.hpp
 
 OTHER_FILES += \
     README.md
-
-# remove generated files
-QMAKE_CLEAN += -r \
-    $$OUT_PWD/SampleAppTimeDate \
-    $$OUT_PWD/Makefile