title: Qt (QML) Dashed Circle
body: <p>Is there any way to draw half dashed circle in QML? I drawn half circle in this way </p>
  
  <pre><code>   var Circle = getContext("2d");
            Circle.save();
            var CircleGradient = 
   Circle.createLinearGradient(parent.width/4,parent.height,parent.width/4,0);
          CircleGradient.addColorStop(0, firstGradientPoint);
                    CircleGradient.addColorStop(1, secondGradientPoint);
                    Circle.clearRect(0, 0, parent.width, parent.height);
                    Circle.beginPath();
                    Circle.lineCap = "round";
                    Circle.lineWidth = 10;
                    Circle.strokeStyle = CircleGradient
                    Circle.arc(parent.width/2, parent.height/2, canvas.radius - (Circle.lineWidth / 2), Math.PI/2, canvas.Value);
                    Circle.stroke();
                    Circle.restore();
  </code></pre>
  
  <p>Result</p>
  
  <p><img src="https://i.stack.imgur.com/eXJ8i.png" alt=""> </p>
  
  <p>But how can I make it dashed like this.</p>
  
  <p>I need</p>
  
  <p><img src="https://i.stack.imgur.com/00Y7h.png" alt=""></p>