aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/pathitem/pathitem.pro
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-01-04 15:12:32 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-01-10 14:47:57 +0000
commit0271da9ff4001d26596a9172329691674e147ada (patch)
tree5114cc82e67712b9975b961dcb44e0e5ccb327bf /examples/quick/pathitem/pathitem.pro
parent7599fbffbf8ad88fa4487cd7d8bad90eb0b2d952 (diff)
Allow multiple paths in a PathItem
Instead of PathItem { item properties stroke/fill properties path: Path { ... } } switch to PathItem { item properties VisualPath { stroke/fill settings Path { ... } } VisualPath { stroke/fill settings Path { ... } } ... } Limiting PathItem to a single path is arguably too limited. Applications will likely try to work this around by using multiple PathItems. While this is not particularly bad for the generic (geometry node based) implementation, it is a massive overkill for the rendernode-based ones. Therefore, avoid the hassle and allow multiple paths with different stroke/fill parameters inside a single PathItem. Change-Id: Ie7980cd656deb7d4cb1ee4eaa3c090c4b0493c7d Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples/quick/pathitem/pathitem.pro')
-rw-r--r--examples/quick/pathitem/pathitem.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/quick/pathitem/pathitem.pro b/examples/quick/pathitem/pathitem.pro
index ad208a74ab..ac42bd519d 100644
--- a/examples/quick/pathitem/pathitem.pro
+++ b/examples/quick/pathitem/pathitem.pro
@@ -20,7 +20,9 @@ OTHER_FILES += content/pathitem.qml \
content/item12.qml \
content/item13.qml \
content/item14.qml \
- content/item15.qml
+ content/item15.qml \
+ content/item16.qml \
+ content/item17.qml
target.path = $$[QT_INSTALL_EXAMPLES]/quick/pathitem
INSTALLS += target