Ya AFAIK you have to maually edit the .ui file and Replace the QWidget with QMainWindow.