Есть ли способ создать/добавить компонент QML из С++?
Пример, если у меня есть этот QML:
Window {
id: window
objectName: "windowName"
title: "windowName"
width: 480
height: 800
Rectangle {
id: frmHeader
objectName: "frmHeader"
width: parent.width
height: parent.height
}
}
Можно ли добавить TextInput
к прямоугольнику?