QtBluetooth on Windows not working
-
@sierdzio said in QtBluetooth on Windows not working:
Well, kind of works because BT support on Windows is very weak.
What a kind way to phrase that, not what would come to my mind.....
Also, the success of QtBluetooth highly relys on the Windows version, I would recommand upgrading to the lastest one possible.
-
@J.Hilk said in QtBluetooth on Windows not working:
@sierdzio said in QtBluetooth on Windows not working:
Well, kind of works because BT support on Windows is very weak.
What a kind way to phrase that, not what would come to my mind.....
Heh, yeah, the sentence you read is not the first one I wrote :P Although in my recent experience, Windows itself is also not particularly good with bluetooth, especially Low Energy variety.
Also, the success of QtBluetooth highly relys on the Windows version, I would recommand upgrading to the lastest one possible.
Indeed. Different versions of Windows 10 work differently, Windows 8.1 comes with extra bunch of crashes...
-
To be fair, there is a lot of work ongoing to improve the Windows/Bluetooth experience.
See https://codereview.qt-project.org/#/q/status:merged+branch:wip/win,n,z for reference. However, this branch is not ready for production yet, but can already be compiled from end-users for testing purpose.
Regards
-
@elsa said in QtBluetooth on Windows not working:
tell me how to set up the MSVC compiler?
Did you already install Visual Studio or Microsoft Build Tools and Qt for Visual Studio?
-
@elsa said in QtBluetooth on Windows not working:
@sierdzio could you please tell me how to set up the MSVC compiler? When I try to build my program with it, it says "Could not find the executable, plesase specify one" and gives a lineEdit to browse. so with path do i have to state?
In short, it's simple:
- download and install Microsof Visual Studio (it's free nowadays), make sure to check C++ download option (you don't need any of the rest: .Net, embedded, other platforms, Python and whatnot)
- open Qt Maintenance Tool and add MSVC 2017 package for your Qt version
- that's it, Qt Creator should now recognize that version, you just need to select it for your project in project settings
-
@sierdzio thank you for your answer. Now it's being detected successfully. However, when I run debug mode it produces "unexpected CDB Exit: The CDB process terminated". Do you know what might be the cause? I have researched this a bit but did not reach any solution yet.
-
@elsa said in QtBluetooth on Windows not working:
@sierdzio thank you for your answer. Now it's being detected successfully. However, when I run debug mode it produces "unexpected CDB Exit: The CDB process terminated". Do you know what might be the cause? I have researched this a bit but did not reach any solution yet.
Apart from knowing that CDB is the MSVC debugger I know nothing about it, sorry ;-)
-
@sierdzio said in QtBluetooth on Windows not working:
Apart from knowing that CDB is the MSVC debugger I know nothing about it, sorry ;-)
I may be of help here :)
@elsa
IIRC MSVC installation does not come automatically with the c++ debuger.
You'll need to download and install the Windows Software Developer Kitto be found here, I think. It's been a while when I installed it.
https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk -
@elsa
Hi
Can be many reasons
https://forum.qt.io/topic/69130/unexpected-cdb-exitAlso, are you using Creator Or Visual Studio to run it?
Ahh, @J-Hilk beat me to it :)
You might need the standalone debugger if running from Creator.