blob: de6290df8a5063fae9c92ce1c6c79af738a2c2a2 (
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
|
TEMPLATE = lib
TARGET = qthreedqmlplugin
CONFIG += qt plugin qt3d qt3dquick
win32 {
CONFIG(debug, debug|release) {
TARGET = $$member(TARGET, 0)d
}
}
symbian {
CONFIG += epocallowdlldata
contains(QT_EDITION, OpenSource) {
TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment WriteUserData
} else {
TARGET.CAPABILITY = All -Tcb
}
}
QT += declarative opengl network
#VERSION = 1.0.0
SOURCES += \
threed.cpp \
qt3dnamespace.cpp \
scale3d.cpp \
viewport.cpp \
qgraphicslookattransform.cpp \
shaderprogram.cpp
HEADERS += \
qt3dnamespace.h \
scale3d.h \
viewport.h \
qgraphicslookattransform.h \
shaderprogram.h \
shaderprogram_p.h
scenegraph {
SOURCES += \
viewport_sg.cpp \
viewportfbonode_sg.cpp
HEADERS += \
viewport_sg.h \
viewportfbonode_sg.h
}
qdeclarativesources.files += \
qmldir
qdeclarativesources.path += $$[QT_INSTALL_IMPORTS]/Qt3D
target.path += $$[QT_INSTALL_IMPORTS]/Qt3D
INSTALLS += qdeclarativesources target
|