remove widgets dependency from qt5plugin test

Change-Id: I580a2074660e1851f4e0bb476882009e25e6efbe
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>