-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplotcomponents.pro
More file actions
58 lines (50 loc) · 1.47 KB
/
plotcomponents.pro
File metadata and controls
58 lines (50 loc) · 1.47 KB
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
54
55
56
57
58
TEMPLATE = lib
TARGET = plotcomponentsplugin
CONFIG += qt plugin
QT += declarative quick
TARGET = $$qtLibraryTarget($$TARGET)
uri = delaitre.jeremie.plotcomponents
HEADERS += \
plugin.hpp \
valuemapper.hpp \
logvaluemapper.hpp \
scalemap.hpp \
linearscale.hpp \
curve.hpp \
curvenode.hpp
SOURCES += \
plugin.cpp \
valuemapper.cpp \
logvaluemapper.cpp \
scalemap.cpp \
linearscale.cpp \
curve.cpp \
curvenode.cpp
OTHER_FILES = qmldir \
test.qml \
ValueTick.qml \
Scale.qml \
Plot.qml
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
copy_qmldir.target = $$OUT_PWD/qmldir
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
QMAKE_EXTRA_TARGETS += copy_qmldir
PRE_TARGETDEPS += $$copy_qmldir.target
copy_qmlfiles.target = $$OUT_PWD/qmlfiles
copy_qmlfiles.depends = $$_PRO_FILE_PWD_/*.qml
copy_qmlfiles.commands = $(COPY) $$replace(copy_qmlfiles.depends, /, $$QMAKE_DIR_SEP) .
QMAKE_EXTRA_TARGETS += copy_qmlfiles
PRE_TARGETDEPS += $$copy_qmlfiles.target
}
qmldir.files = qmldir
qmlfiles.files = *.qml
symbian {
TARGET.EPOCALLOWDLLDATA = 1
} else:unix {
installPath = /usr/lib/qt4/imports/$$replace(uri, \\., /)
qmldir.path = $$installPath
qmlfiles.path = $$installPath
target.path = $$installPath
INSTALLS += target qmldir qmlfiles
}