Hi All,

My application has a qml view. I'm creating a dynamic component for a messagebox developed in QML using QQmlComponent.

I have a non-Qt class which needs to create this dynamic component on the the qml view.

However, I get this error that can't create this component on the main thread.

Kindly suggest how can I create this component on a non-qt thread to display on the qt thread.