Hi All,
I'm trying to create dynamic components using Qt.createQmlObject
Code:
Qt.createQmlObject(text, contentRect, "dynamicItem")
Here's the single line of text
Code:
'import QtQuick 2.0;Rectangle{ width: parent.width; contentForReplace}'
The contentForReplace is replaced dynamically to create different components at runtime
Is it possible to have // or /* comments */ in the single line?
Kindly advice
