Although Qt’s docs indicate that these two functions are different (the first doesn’t include the frame) no matter what widget I choose – including the main window of my application – someWidget->frameGeometry().height() always returns the same value as someWidget->geometry.height().
What am I missing here?
I think, you don’t give enough time to widget to be painted. There is little example:
First debug output will produce the same values for
geometryandframeGeometry, but the second (intimerEvent) will produce different.