lizequan |
2021-08-07 18:38 |
QML 中 PathSvg 不显示
为什么
- import QtQuick 2.12import QtQuick.Window 2.12
Window { id:root visible: true width: 500; height: 500 Rectangle { x: 0; y: 0 width: 10 height: 10 color: "blue" } Path { startX: 50; startY: 50 PathSvg { path: "L 150 50 L 100 150 z" } } }
这么写 路径 没有显示呢? 我看qt helper 上没有更多内容了,想问一下大家,刚开始学,所以问的比较简单
|
|