# 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 += \
src/timedateprovider.hpp
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
-
OTHER_FILES += \
README.md
-
-# remove generated files
-QMAKE_CLEAN += -r \
- $$OUT_PWD/SampleAppTimeDate \
- $$OUT_PWD/Makefile