[Interest] Qt 4.8.0 Main form always opening in the same location ?
Andreas Pakulat
apaku at gmx.de
Mon Jan 23 08:30:30 CET 2012
On 23.01.12 13:50:43, Tony Rietwyk wrote:
> Hi Everybody,
>
> I've recently upgraded my application from Qt 4.6.0 running on Windows XP to
> 4.8.0 running on Windows 7. Now my main form is always opening at the same
> location on screen, whereas in XP, it would use a different position each
> time it was run. The problem is that it's always over my Visual Studio
> output pane, so I have to move the main form to see the debug output. I
> don't know whether this is a change in Qt, or Windows 7 feature. It would
> be really nice to know where the values have been stored so that I can
> change them!
I guess that means you're not using saveState/saveGeometry yourself in
your application to save/restore the window's geometry? If your
application does not do this, then you'll need to find out how Windows 7
changed in this regard, since Qt does not do this all by itself either
AFAIK.
Andreas
More information about the Interest
mailing list