Layout calculations are triggered by events, that are processed inside QApplication::exec(). The geometries you are collecting in your list are pointless - too early.

Uwe