qt - 如何将 QString 转换为 ascii?
问题描述
我想将 a 转换QString
为ASCII,但我不知道如何。
我试过这个:
QString("abcd").toAscii()
但这没有用
解决方案
推荐阅读
- python - 相同的 NN 架构在张量流和 keras 中提供不同的精度
- elasticsearch - 在 Elasticsearch 服务器中配置保持活动超时
- android - 用户拒绝 Android 权限时的白屏
- firebase - HTTP 端点关闭或没有响应
- sonarqube - 如何在声纳中设置项目级别权限
- smb - 何时以及如何在 SMB2 中交换密钥以进行 HMAC 签名
- firebase - GCM 和 FCM 设备令牌在格式上的区别
- css - 如何添加浮动图像以使其在屏幕上保持可见而不管滚动?
- ios - iOS objC将文件上传到firebase没有发生
- react-native-android - 本机基础收音机颜色不起作用?