Retrieve QML code at runtime?
Unsolved
Mobile and Embedded
-
let say I have below SampleItem.qml
import QtQuick 2.15 Item{ property var item1 Component.onCompleted:{ console.log('i am other item') } }
Any way i can retrieve the full QML code without knowing its file or without using QFile
in Javascript we can get element html code using innerHTML/ outerHTML is there an equivalent for QML for this ?