Fix warnings

Warnings exposed because of the build system cleanup (implicit conversions of qstring and qbytearray).