Is the wizard a QDialog subclass (note that QWizard is QDialog subclass as well)?
Try the code I attached in the previous post, it should work for you. If it doesn't you'll know you have a buggy Qt installation. If it does, maybe it'll help you correct your code.
Bookmarks