fix compilation with minimal Qt configuration

Add missing includes.

Change-Id: I8473af332919ef4c2d9e66f56c6d15b136ec3a54
Task-number: QBS-719
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>