且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows上QtBluetooth的替代品?

更新时间:2021-12-04 05:25:12

This thread on the QtForum delivered the answer. It works when you switch to the MSVC compiler instead of the standard MinGW!

这是您的操作方式:

在安装Microsoft Visual Studio并在Qt中安装了MSVC软件包之后(请参见前面提到的线程),您需要通过转到工具">选项">工具包"来设置c ++的编译器.在此处选择MSVC编译器,然后在编译器:C ++:"中选择Microsoft Visual C ++编译器.

After installing Microsoft Visual Studio and having the MSVC package in Qt (see mentioned thread), you need to set the compiler for c++ by going to Tools>Options>Kits. There you choose the MSVC compiler and in "Compiler: C++:" you choose Microsoft Visual C++ Compiler.

我希望这对其他人有帮助.

I hope this helps someone else.