summaryrefslogtreecommitdiff
path: root/daemon/daemon.pro
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/daemon.pro')
-rw-r--r--daemon/daemon.pro24
1 files changed, 5 insertions, 19 deletions
diff --git a/daemon/daemon.pro b/daemon/daemon.pro
index 6eea288..1c287d0 100644
--- a/daemon/daemon.pro
+++ b/daemon/daemon.pro
@@ -2,14 +2,11 @@ TARGET = pebbled
CONFIG += console
CONFIG += link_pkgconfig
-QT -= gui
-QT += bluetooth dbus contacts gui qml positioning
+QT += core gui qml bluetooth dbus contacts positioning
PKGCONFIG += mlite5 icu-i18n
CONFIG += c++11
-LIBS += -llog4qt
-
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
SOURCES += \
@@ -54,14 +51,12 @@ HEADERS += \
uploadmanager.h \
stm32crc.h
-OTHER_FILES += \
- ../log4qt-debug.conf \
- ../log4qt-release.conf \
- js/typedarray.js
-
DBUS_ADAPTORS += ../org.pebbled.Watch.xml
-INSTALLS += target systemd confile js
+OTHER_FILES += $$DBUS_ADAPTORS \
+ js/typedarray.js
+
+INSTALLS += target systemd js
target.path = /usr/bin
@@ -71,14 +66,5 @@ systemd.path = /usr/lib/systemd/user
js.files = js/*
js.path = /usr/share/pebble/js
-CONFIG(debug, debug|release) {
- confile.extra = cp $$PWD/../log4qt-debug.conf $$OUT_PWD/../log4qt.conf
-} else {
- 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