summaryrefslogtreecommitdiff
path: root/daemon/daemon.pro
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-12-12 20:57:07 +0100
committerTomasz Sterna <tomek@xiaoka.com>2014-12-12 20:57:07 +0100
commit80cf5c3c0b779c869e61dca0da9eec18b962c8ce (patch)
treeafaccaf434d4bab5d4941103ec3dce662292010b /daemon/daemon.pro
parent8e8c5da2d50ce71bd795803154636e0b6d30912b (diff)
Replaced Log4Qt with Qt 5.2+ QLoggingCategory
Diffstat (limited to 'daemon/daemon.pro')
-rw-r--r--daemon/daemon.pro21
1 files changed, 3 insertions, 18 deletions
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