[Solved] how to create components dynamically in qml

main.qml import QtQuick 2.6 import QtQuick.Window 2.2 import QtQuick.Controls 1.4 Window { id:appWindow visible: true width: 640 height: 480 title: qsTr(“Hello World”) property int count: 0 signal forward function fun1(argument1){ console.log(“A function fun1()in the main QML file is invoked by dynmic object”) console.log(“Returned parameter from the QML dynamic objects = “, argument1) } Item { … Read more