summaryrefslogtreecommitdiff
path: root/qorgwatchlet/qorgwatchlet.pro
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-03 21:15:59 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-03 21:15:59 +0200
commit7897ec1596a4348cd926eff7c1d4f03616ed535c (patch)
treec21374cfcf613198dd52e39e89be982a10263fc8 /qorgwatchlet/qorgwatchlet.pro
parent9e061170b3834845910749c55eda63f03d982bbf (diff)
downloadsowatch-7897ec1596a4348cd926eff7c1d4f03616ed535c.tar.gz
sowatch-7897ec1596a4348cd926eff7c1d4f03616ed535c.zip
preparing new qorgwatchlet
Diffstat (limited to 'qorgwatchlet/qorgwatchlet.pro')
-rw-r--r--qorgwatchlet/qorgwatchlet.pro28
1 files changed, 28 insertions, 0 deletions
diff --git a/qorgwatchlet/qorgwatchlet.pro b/qorgwatchlet/qorgwatchlet.pro
new file mode 100644
index 0000000..9e18e42
--- /dev/null
+++ b/qorgwatchlet/qorgwatchlet.pro
@@ -0,0 +1,28 @@
+TARGET = qmsgwatchlet
+TEMPLATE = lib
+CONFIG += plugin
+CONFIG += mobility
+MOBILITY += messaging
+
+SOURCES += qmsgwatchletplugin.cpp qmsgwatchlet.cpp
+
+HEADERS += qmsgwatchletplugin.h qmsgwatchlet.h
+
+qml_files.files = metawatch-digital.qml icon.png
+
+LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
+
+INCLUDEPATH += $$PWD/../libsowatch
+DEPENDPATH += $$PWD/../libsowatch
+
+unix:!symbian {
+ !isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
+ QMAKE_RPATHDIR += /opt/sowatch/lib
+ target.path = /opt/sowatch/lib/watchlets
+ qml_files.path = /opt/sowatch/qml/$$TARGET
+ } else {
+ target.path = /usr/lib/sowatch/watchlets
+ qml_files.path = /usr/share/sowatch/qml/$$TARGET
+ }
+ INSTALLS += target qml_files
+}