blob: db35548caaddcd0cb8ef8f3fe35c4dbfff6f0115 (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
TEMPLATE = lib
TARGET = qshapesqmlplugin
CONFIG += qt plugin
QT += declarative quick qt3d qt3dquick
DESTDIR = $$QT.qt3dquick.imports/Qt3D/Shapes
target.path = $$[QT_INSTALL_IMPORTS]/Qt3D/Shapes
INSTALLS += target
SOURCES += \
shapes.cpp \
cylinder.cpp \
capsule.cpp \
line.cpp \
point.cpp \
spheremesh.cpp
HEADERS += \
cylinder.h \
capsule.h \
line.h \
point.h \
spheremesh.h \
spheremesh_p.h
QML_FILES = \
Cube.qml \
Sphere.qml \
Quad.qml \
Teapot.qml
QML_INFRA_FILES += \
$$QML_FILES \
qmldir \
library.xml \
plugins.qmltypes \
cube.obj \
quad.obj \
teapot.bez
# see the file README.library_xml for more on library.xml
package {
copyqmlinfra_install.files = $$QML_INFRA_FILES
copyqmlinfra_install.path = $$[QT_INSTALL_IMPORTS]/Qt3D/Shapes
INSTALLS += copyqmlinfra_install
} else {
copyqmlinfra.input = QML_INFRA_FILES
copyqmlinfra.output = $$target.path/${QMAKE_FILE_IN_BASE}${QMAKE_FILE_EXT}
copyqmlinfra.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
copyqmlinfra.CONFIG += no_link_no_clean
copyqmlinfra.variable_out = PRE_TARGETDEPS
QMAKE_EXTRA_COMPILERS += copyqmlinfra
}
else {
copyqmlinfra_install.files = $$QML_INFRA_FILES
copyqmlinfra_install.path = $$[QT_INSTALL_IMPORTS]/Qt3D/Shapes
INSTALLS += copyqmlinfra_install
}
OTHER_FILES += \
README.plugins_types \
README.library_xml
OTHER_FILES += $$QML_FILES
|