Fix QRect instantiation

Make QRect instantiation compile on latest gcc, which is more strict about static calls to constructors.
Merge pull request #1 from TigerDX/latest-update

Fix QRect instantiation