When you create the QDialog, do you give it the main widget of your application as the parent in the constructor, or do you create it with a null parent? If you want it to be centered on your application, you should give it a valid parent, usually the main application widget.