<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="default-style">
Hi there,
</div>
<div class="default-style">
</div>
<div class="default-style">
The <strong>discoverDetails()</strong> function call on a <strong>QLowEnergyService</strong> object causes my application to crash on Windows 11, it works fine on Windows 10 however.
</div>
<div class="default-style">
</div>
<div class="default-style">
It seems this issue has been around for a few years, and is related to PyQt/Qt for Python:
</div>
<div class="default-style">
(Apologies in advance if this issue has already been raised on this mailing list)
</div>
<div class="default-style">
</div>
<div class="default-style"> <a href="https://forum.qt.io/topic/146796/qtbluetooth-crashes-at-discoverdetails-on-win11">https://forum.qt.io/topic/146796/qtbluetooth-crashes-at-discoverdetails-on-win11</a>
</div>
<div class="default-style"> <a href="https://bugreports.qt.io/browse/QTBUG-109510">https://bugreports.qt.io/browse/QTBUG-109510</a>
</div>
<div class="default-style">
</div>
<div class="default-style">
I have attached a minimal reproducable example that displays a list of discovered BLE devices. Click on a device and then click connect. When the device is connected and a service is discovered, the discoverDetails() function call on line 78 causes the crash.
</div>
<div class="default-style">
</div>
<div class="default-style">
Any support would be greatly appreciated.
</div>
<div class="default-style">
</div>
<div class="default-style">
Many thanks,
</div>
<div class="default-style">
</div>
<div class="default-style">
Ben
</div>
<div class="default-style">
</div>
<div class="default-style">
</div>
</body>
</html>