Fix QRect instantiation

Make QRect instantiation compile on latest gcc, which is more strict about static calls to constructors.

All compiles and runs nicely now!