1). But I had to set the window flag of the Mainwindows to host as a central widget to Qt::Widget (using QMainWindow::setWindowFalg)
That should not be required.
Originally Posted by pothead42
Even if I trie to hide them before.
No need to hide, just don't show them in the first place, just add to layout and only show the host QMainWindow (top level window)
When you know how to do it then you may do it wrong. When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks