Offscreen surfaces were added in Qt 5.1 only.