获得徽章 8
- jym,求解惑:
今天试用了一下qt6开发蓝牙,先申请个权限:
"qApp->requestPermission( bluetoothPermission, this, [=]( const QPermission &permission ) ..."
结果运行在Android申请权限正常,在iOS和Mac上,总是提示:”Could not find permission plugin for QBluetoothPermission. Please make sure you have included the required usage description in your Info.plist“
实际上,Info.plist 已经声明了权限:”
<key>NSBluetoothAlwaysUsageDescription</key>
<string>...</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>...</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>...</string>“
没想明白咋回事儿,感谢。展开921 - 最近做了个小游戏嘛,华容道,之前老是有人搞破坏,排行榜被0分霸占;还有一直攻击服务器的,后来可能感觉没啥意思,就不攻击了;后来我加了个验证,倒是没有霸榜了,但是,感觉对服务器压力有点大,99元一年的服务器可能扛不住;今天,我又改了改验证,不知道有没有效果,欢迎大家测试体验;来挑战一下你的脑力吧!5514
 
![[黑脸]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_99.3264111.png)
![[白眼的狗]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_98.9f6d4ad.png)
![[发怒]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_12.0f24f23.png)