Are you using Qt Creator IDE / Qt Designer for editting the .ui file? Which version are you on?