You have to include them for all translationunits because otherwise default
print function are generated. So you get to different implementations for
the same symbol.
Change-Id: I732d2e1f1774f72acdbb49cbe1848d31ca3f5c98
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>