You could embed a QMainWindow in the dialog and add the QMenuBar there.
There are probably other solutions, too.