blob: a29f4af2325c70f0b55888ffc13a49c2ebe1b76e (
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
|
TEMPLATE = lib
QT += gui qml quick
QT += quick-private
CONFIG += qt plugin
CONFIG += no_cxx_module install_qml_files builtin_resources qtquickcompiler
CONFIG += qmltypes install_qmltypes
TARGET = qquicktreeviewplugin
TARGETPATH = QtQuick/TreeView
QML_IMPORT_NAME = QtQuick.TreeView
equals(QT_MAJOR_VERSION, 5) {
QML_IMPORT_MAJOR_VERSION = 2
QML_FILES += qt5/TreeView.qml
DYNAMIC_QMLDIR = \
"module QtQuick.TreeView" \
"plugin qquicktreeviewplugin" \
"classname QQuickTreeViewPlugin" \
"TreeView 2.15 qt5/TreeView.qml" \
"depends QtQuick.Shapes 2.15" \
"depends Qt.labs.qmlmodels 1.0"
} else {
QML_IMPORT_MAJOR_VERSION = 6
QML_FILES += TreeView.qml
DYNAMIC_QMLDIR = \
"module QtQuick.TreeView" \
"plugin qquicktreeviewplugin" \
"classname QQuickTreeViewPlugin" \
"TreeView 2.15 TreeView.qml" \
"TreeView 6.0 TreeView.qml" \
"depends QtQuick.Shapes 2.15" \
"depends Qt.labs.qmlmodels 1.0"
}
SOURCES += \
qquicktreeviewplugin.cpp \
qquicktreeview.cpp \
qquicktreemodeladaptor.cpp
HEADERS += \
qquicktreeview_p.h \
qquicktreeview_p_p.h \
qquicktreemodeladaptor_p.h \
OTHER_FILES += \
$$QML_FILES \
../README.md \
../Marketplace.md \
../Marketplace.json
QMAKE_DOCS = $$PWD/doc/treeview.qdocconf
load(qml_plugin)
|