Compile with QT_NO_CAST_FROM_ASCII etc

This should fix the remaining bytearray and string
cast warnings.