找回密码
 立即注册
收起左侧

qt5.14后支持win7蓝牙

1
回复
8674
查看
[复制链接]
累计签到:1 天
连续签到:1 天
来源: 2020-6-17 09:31:25 显示全部楼层 |阅读模式
1Qter豆
qt官方说在qt5.14版本后还是支持win7蓝牙,但是需要配置:
Qt 5.14 adds a native Win32 port supporting Classic Bluetooth on Windows 7 or newer, and Bluetooth LE on Windows 8 or newer. It must be enabled at build time by configuration option -native-win32-bluetooth. The UWP backend is used by default if this option is not set and the Win32 target platform supports the required UWP APIs (minimal requirement is Windows 10 version 1507, with slightly improved service discovery since Windows 10 version 1607).
“ -native-win32-bluetooth”这句话应该在哪配置啊

回复

使用道具 举报

累计签到:742 天
连续签到:1 天
2020-6-18 08:53:30 显示全部楼层
应该是编译选项吧 在 pro 文件中写上 QMAKE_CXXFLAGS += -native-win32-bluetooth 试试看~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了