I\'d like to place QMainWindow instance inside another QWidget (for example centralWidget of another QMainWindow).
I\'m wondering why it doesn\'t work ? QMainWindow
centralwidget = new QMainWindow(this); centralwidget->setWindowFlags(Qt::Widget); setCentralWidget(centralwidget);
This should help.