title: How to use PathCubic in QML?
body: <p><a href="https://doc.qt.io/qt-5/qml-qtquick-pathcubic.html" rel="nofollow noreferrer">https://doc.qt.io/qt-5/qml-qtquick-pathcubic.html</a></p>
  <p>The following code is from the above link but it does not show any line when executed. All I see is red rectangle. Point point out the fault.</p>
  <pre><code>import QtQuick 2.12
  import QtQuick.Window 2.12
  import QtGraphicalEffects 1.12
  
  Window {
      visible: true
      width: 640
      height: 480
      title: qsTr(&quot;Hello World&quot;)
  
      Rectangle
      {
          height: 300; width: 300
          x: 10; y: 10
          color: &quot;red&quot;
          Path
          {
              startX: 20; startY: 0
              PathCubic {
                  x: 180; y: 0
                  control1X: -10; control1Y: 90
                  control2X: 210; control2Y: 90
              }
          }
      }
  }
  </code></pre>