From 80cf5c3c0b779c869e61dca0da9eec18b962c8ce Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Fri, 12 Dec 2014 20:57:07 +0100 Subject: Replaced Log4Qt with Qt 5.2+ QLoggingCategory --- daemon/daemon.pro | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'daemon/daemon.pro') diff --git a/daemon/daemon.pro b/daemon/daemon.pro index 0528ec9..85705aa 100644 --- a/daemon/daemon.pro +++ b/daemon/daemon.pro @@ -4,11 +4,10 @@ CONFIG += console CONFIG += link_pkgconfig QT -= gui -QT += bluetooth dbus contacts +QT += core bluetooth dbus contacts PKGCONFIG += mlite5 QMAKE_CXXFLAGS += -std=c++0x -LIBS += -llog4qt LIBS += -licuuc -licui18n DEFINES += APP_VERSION=\\\"$$VERSION\\\" @@ -36,28 +35,14 @@ HEADERS += \ settings.h OTHER_FILES += \ - org.pebbled.xml \ - ../log4qt-debug.conf \ - ../log4qt-release.conf + org.pebbled.xml -INSTALLS += target pebbled confile +INSTALLS += target pebbled target.path = /usr/bin pebbled.files = $${TARGET}.service pebbled.path = /usr/lib/systemd/user -CONFIG(debug, debug|release) { - message(Debug build) - confile.extra = cp $$PWD/../log4qt-debug.conf $$OUT_PWD/../log4qt.conf -} -else { - message(Release build) - confile.extra = cp $$PWD/../log4qt-release.conf $$OUT_PWD/../log4qt.conf -} - -confile.files = $$OUT_PWD/../log4qt.conf -confile.path = /usr/share/pebble - # unnecesary includes, just so QtCreator could find headers... :-( INCLUDEPATH += $$[QT_HOST_PREFIX]/include/mlite5 -- cgit v1.2.3