I am trying to figure this out, but have not reached a solution thus far.
Problem:
When it launches in a mainwindow it's like this:
[menubar1] | [menubar2]
I would like it to appear like this:
[menubar1]
[menubar2]
How is this accomplished?
Printable View
I am trying to figure this out, but have not reached a solution thus far.
Problem:
When it launches in a mainwindow it's like this:
[menubar1] | [menubar2]
I would like it to appear like this:
[menubar1]
[menubar2]
How is this accomplished?
By the way, you are using QMenuBar *, while addToolBar() returns QToolBar* ;)
As for the answer, use QMainWindow::addToolBarBreak between addToolBar functions :)