Removing QtCreator <2.4 .pro file workarounds
[sowatch:sowatch.git] / qmafwwatchlet / qmafwwatchlet.pro
1
2 TARGET = qmafwwatchlet
3 TEMPLATE = lib
4 CONFIG   += plugin
5 QT       += dbus
6 CONFIG   += link_pkgconfig
7 unix: PKGCONFIG += qmafw qmafw-shared
8
9 SOURCES += qmafwwatchlet.cpp \
10     qmafwwatchletplugin.cpp \
11     qmafwwatchletplayer.cpp
12 HEADERS += qmafwwatchlet.h \
13     qmafwwatchletplugin.h \
14     qmafwwatchletplayer.h
15
16 unix: LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
17 INCLUDEPATH += $$PWD/../libsowatch
18 DEPENDPATH += $$PWD/../libsowatch
19
20 unix:!symbian {
21         !isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
22                 QMAKE_RPATHDIR += /opt/sowatch/lib
23                 target.path = /opt/sowatch/lib/watchlets
24         } else {
25                 target.path = /usr/lib/sowatch/watchlets
26         }
27         INSTALLS += target
28 }
29
30 OTHER_FILES += \
31     metawatch-digital.qml
32
33 RESOURCES += \
34     qmafwwatchlet.qrc