Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] how to make custom widget display?
rafael last edited by rafael
i created a widget in designer named it mainwindow.ui
added some labels and buttons saved it.
i created a class called mainwindow and inherited from ui::mainwindow
i created a project called test in the test.ui i created a widget promoted it with a class name of mainwindow and it uses the header file mainwindow.h
when i run the application i just get a blank frame.
what am i missing.
rafael last edited by
i forgot to add ui->setup(this) to the mainwindow class