How do I enable antialiasing on QML Shapes?

前端 未结 2 1885
自闭症患者
自闭症患者 2021-01-11 16:09

Here\'s a QML file that has a Dial control and a custom shape side by side:

import QtQuick 2.9
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.3
import          


        
2条回答
  •  醉酒成梦
    2021-01-11 16:59

    Have you tried enabling smooth? I would check but i am currently using Qt 4.8 for a project and do not have 5.x loaded to try it for myself.

    https://doc.qt.io/qt-5.10/qml-qtquick-item.html#smooth-prop

提交回复
热议问题