How to create a circular progress bar in pure QML+JS?

后端 未结 6 574
自闭症患者
自闭症患者 2021-02-01 05:59

My application is made using QML+JS and I am looking to create a circular progress bar widget. I can create the circle using a QML Rectangle and settings its radius equal to its

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-01 06:09

    The best way would be to use PNG file image. Because it runs faster than pure qml, particulary if you use gradient. If you want pure qml only, I didn't find anyway except if you add a custom C++ module to youproject. See http://qt-project.org/doc/qt-4.8/qml-extending.html

提交回复
热议问题