I can paint a line with QML in Qt C++. Please consider the below code:
var trackComponent = Qt.createComponent("track_MapPolyline.qml"); var trackOb