I've looked high and low for this answer, so I'm not just throwing out a stupid question. I cannot find any information to center my main application window for the desktop. Just a standard program made in Designer, a mainform, and in the properties there is no such option like there is in VS-2005. I've also done searches here, and in the docs through Creator.

I have the code I've saved for years that works in standard C++, but it won't work in Qt. The handles are much different.

So, what's the secret?

PS: I saw the post by lovelypp already. It didn't work for me.