QtBluetooth on Windows not working
-
@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.