in the example i get error
ASSERT failure in QWidget: "Widgets must be created in the GUI thread."

So, what's the solution? not to implement GUI in thread or what?
But if i want to implement plugin's GUI in independent thread in case of not blocking the application while long-time work of plugin.