In a QMainWindow you don't need to explicitly create your custom status bar. Just use QMainWindow::statusBar() and let QMainWindow create it for you:

http://qt.nokia.com/doc/4.6/qmainwindow.html#statusBar

Maybe your status bar is somehow conflicting with the one created by QMainWindow.