summaryrefslogtreecommitdiff
path: root/libsowatchbt/libsowatchbt.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 /libsowatchbt/libsowatchbt.pro
parent6003bf81107dd9be51589c074b74c5af82bfc8ab (diff)
downloadsowatch-ccd19d2b7ee4184503ea46b98333b27a5613190e.tar.gz
sowatch-ccd19d2b7ee4184503ea46b98333b27a5613190e.zip
big change: a new abstract BluetoothWatch class
Diffstat (limited to 'libsowatchbt/libsowatchbt.pro')
-rw-r--r--libsowatchbt/libsowatchbt.pro38
1 files changed, 38 insertions, 0 deletions
diff --git a/libsowatchbt/libsowatchbt.pro b/libsowatchbt/libsowatchbt.pro
new file mode 100644
index 0000000..a707778
--- /dev/null
+++ b/libsowatchbt/libsowatchbt.pro
@@ -0,0 +1,38 @@
+TARGET = sowatchbt
+TEMPLATE = lib
+VERSION = 1.0.0
+
+# Qt Mobility 1.2
+maemo5 {
+ CONFIG += mobility12
+} else {
+ CONFIG += mobility
+}
+MOBILITY += connectivity systeminfo
+
+DEFINES += SOWATCHBT_LIBRARY
+
+SOURCES += \
+ bluetoothwatch.cpp \
+ bluetoothwatchscanner.cpp
+
+HEADERS += sowatchbt.h sowatchbt_global.h \
+ bluetoothwatch.h \
+ bluetoothwatchscanner.h
+
+LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
+INCLUDEPATH += $$PWD/../libsowatch
+DEPENDPATH += $$PWD/../libsowatch
+
+install_headers.files = $$HEADERS
+
+install_headers.path = /usr/include/sowatch
+!isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
+ target.path = /opt/sowatch/lib
+ install_translations.path = /opt/sowatch/i18n
+} else {
+ target.path = /usr/lib
+ install_translations.path = /usr/share/sowatch/i18n
+}
+
+INSTALLS += install_headers target