How are you adding your widget to the QMainWindow, and how are you calling the main window? Basically, show your main().
Forum Rules
Bookmarks