View Full Version : Load widgets using qplugin loader

8th October 2018, 19:36
Hello, I ve got an app that's contains qtabwidget in main application and app core in .dll library that contains plugin loader.
I want to create plugins contains qui interface (widgets and other source code) and load it into qtabwidget in main app as new tab. Something like application extension in plugins
What is the best way to do it and can I get some simple code to explain me how it should work ?

Thank you

8th October 2018, 21:35
The Qt documentation (https://doc.qt.io/qt-5/qtwidgets-tools-plugandpaint-app-example.html) is your friend.