Fix build of Designer plugin against Qt 5 stable.

Change-Id: I53a6b49ff408c73d7532701a0b9eb5ed2c9aca6b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>