Remove linkage against private headers from qtmail example.

Change-Id: I00f457f54746b4e32ca60ae6c6d31ca34934f67d
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>