Originally Posted by
wysota
It may have a layout but you are not adding your widget to it.
wysota, you are the greatest!!!!
I've added one line to my code and now it's working.
frameHome
= new QWidget( myMainWindow
->centralWidget
() );
myMainWindow->gridLayout->addWidget(frameHome, 0, 0, 1, 1);
setupUi( frameHome );
frameHome = new QWidget( myMainWindow->centralWidget() );
myMainWindow->gridLayout->addWidget(frameHome, 0, 0, 1, 1);
setupUi( frameHome );
To copy to clipboard, switch view to plain text mode
Thanks again for giving me the right idea.
Have a nice day.
Bookmarks