Squish: Restrict workaround to Qt4 builds

Change-Id: Ib67e6af786a557f50a6532bb0906ca9537ca22ad
Reviewed-by: Christian Stenger <christian.stenger@digia.com>