Exclude tests which require Qt 5.4.

Change-Id: I58c60b1d4402f328d6ee9c2790cb20923b545070