Hi

I need to make a plugin which when I load some widget will be added to main window.

For example I have widget with label and button with some functions, signals, slots etc.
And I want to build this widget as a plugin, dll file, and after loading in another application I want this widget to show there.
For example on other widget.

How can I do that? I have never worked with plugins before

PS: Sorry about my english...