blob: 9331665a20649b561a4ef245403dd0b0aa1a6513 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
TARGET = metawatchdriver
TEMPLATE = lib
CONFIG += plugin
QT += gui
# Qt Mobility 1.2
maemo5 {
CONFIG += mobility12
} else {
CONFIG += mobility
}
MOBILITY += connectivity systeminfo
SOURCES += metawatchplugin.cpp \
metawatchsimulatorform.cpp \
metawatchsimulator.cpp \
metawatchpaintengine.cpp \
metawatch.cpp \
metawatchdigital.cpp \
metawatchanalog.cpp \
metawatchscanner.cpp
HEADERS += metawatchplugin.h \
metawatchsimulatorform.h \
metawatchsimulator.h \
metawatchpaintengine.h \
metawatch.h \
metawatchdigital.h \
metawatchanalog.h \
metawatchscanner.h
FORMS += \
metawatchsimulatorform.ui
res_files.files += res/graphics res/fonts
qml_files.files += qml/com
LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
INCLUDEPATH += $$PWD/../libsowatch
DEPENDPATH += $$PWD/../libsowatch
!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 res_files qml_files
|