summaryrefslogtreecommitdiff
path: root/liveview/liveview.pro
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-08 18:04:31 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-08 18:04:31 +0200
commitccd19d2b7ee4184503ea46b98333b27a5613190e (patch)
treef78cc3f3c946d7a4f8167f72fb20703c65494d84 /liveview/liveview.pro
parent6003bf81107dd9be51589c074b74c5af82bfc8ab (diff)
downloadsowatch-ccd19d2b7ee4184503ea46b98333b27a5613190e.tar.gz
sowatch-ccd19d2b7ee4184503ea46b98333b27a5613190e.zip
big change: a new abstract BluetoothWatch class
Diffstat (limited to 'liveview/liveview.pro')
-rw-r--r--liveview/liveview.pro39
1 files changed, 39 insertions, 0 deletions
diff --git a/liveview/liveview.pro b/liveview/liveview.pro
new file mode 100644
index 0000000..9b949d7
--- /dev/null
+++ b/liveview/liveview.pro
@@ -0,0 +1,39 @@
+TARGET = liveviewdriver
+TEMPLATE = lib
+CONFIG += plugin
+QT += gui
+
+# Qt Mobility 1.2
+maemo5 {
+ CONFIG += mobility12
+} else {
+ CONFIG += mobility
+}
+MOBILITY += connectivity systeminfo
+
+SOURCES += liveviewplugin.cpp \
+ liveviewscanner.cpp \
+ liveview.cpp
+HEADERS += liveviewplugin.h \
+ liveviewscanner.h \
+ liveview.h
+
+LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
+INCLUDEPATH += $$PWD/../libsowatch
+DEPENDPATH += $$PWD/../libsowatch
+
+LIBS += -L$$OUT_PWD/../libsowatchbt/ -lsowatchbt
+INCLUDEPATH += $$PWD/../libsowatchbt
+DEPENDPATH += $$PWD/../libsowatchbt
+
+!isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
+ QMAKE_RPATHDIR += /opt/sowatch/lib
+ target.path = /opt/sowatch/lib/drivers
+ res_files.path = /opt/sowatch/share/metawatch
+ qml_files.path = /opt/sowatch/qml
+} else {
+ target.path = /usr/lib/sowatch/drivers
+ res_files.path = /usr/share/sowatch/metawatch
+ qml_files.path = /usr/share/sowatch/qml
+}
+INSTALLS += target