How do I create a Qml component from C++?

后端 未结 0 537
悲哀的现实
悲哀的现实 2021-01-27 07:14

I tried to use QQmlComponent component(view.engine(), QUrl::fromLocalFile(\"MyItem.qml\")); and then QOObject *object = component.create(); but it gives me Qml Component not rea

相关标签:
回答
  • 消灭零回复
提交回复
热议问题