Support QT_NO_CAST_TO_ASCII and QT_NO_CAST_FROM_ASCII