Add System encoding for Qt5 builds

Workaround QTBUG-34283

Change-Id: Ia58c56a477d93722b21f17e54fc1acc89f1fb63f
Reviewed-by: Eike Ziller <eike.ziller@digia.com>