projectname = dbus-soundrecorder VERSION = 1.0.0 # include ../../common.pri when building as part of a subdirs project; otherwise include general.pri !include(../../common.pri) { !include(./general.pri) { error("Couldn't find the common.pri or the general.pri file!") } } TEMPLATE = app CONFIG += console QT += core dbus SOURCES += main.cpp \ playerwatcher.cpp HEADERS += \ playerwatcher.h DBUS_INTERFACES += \ org.freedesktop.DBus.Properties.xml \ org.mpris.MediaPlayer2.xml \ org.mpris.MediaPlayer2.Player.xml DISTFILES += \ README.md \ LICENSE # libs and includepath CONFIG(debug, debug|release) { LIBS += -L../../ -lc++utilitiesd } else { LIBS += -L../../ -lc++utilities } INCLUDEPATH += ../ # installs target.path = $$(INSTALL_ROOT)/bin INSTALLS += target