@Suroh6 said:
I solved it myself, it appears due to my inheritance of the ui_mainwindow i was getting the diamond inheritance issue :)
Multiple inheritance from QObject derived classes is not supported, but you shouldn't have that in the first place. Aside from that there's no problem with inheriting from QObject (directly or indirectly) and another class. In fact it's done as a standard way of providing interfaces for plugin implementations.