Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Widgets as Abstract Base classes in the Qt Designer



  • I'm right now making some layouts using the Qt Designer tool. I have a widget that is a subclass of QWidget, but it's an abstract base class. The compiler will spit out an error at me if I try to compile. Is there a way in the designer that I can tell it that the promoted widget is actually an abstract class?


  • Lifetime Qt Champion

    Hi,

    Not that I know of. Why would need that ? You can't compile anything that is an abstract