Files
docker/windows/qt-5.15.18-bluetooth-mingw.patch
T
2026-05-06 15:43:21 +03:00

12 lines
588 B
Diff

--- qbluetoothservicediscoveryagent_win.cpp 2025-03-30 11:49:36.000000000 +0000
+++ qbluetoothservicediscoveryagent_win.cpp.new 2026-05-06 11:18:55.546127656 +0000
@@ -211,7 +211,7 @@
#else
# define SDP_CALLBACK QT_WIN_CALLBACK
#endif
-static BOOL SDP_CALLBACK bluetoothSdpCallback(ULONG attributeId, LPBYTE valueStream, ULONG streamSize, LPVOID param)
+static BOOL SDP_CALLBACK __attribute__((stdcall)) bluetoothSdpCallback(ULONG attributeId, LPBYTE valueStream, ULONG streamSize, LPVOID param)
{
QBluetoothServiceInfo *result = static_cast<QBluetoothServiceInfo*>(param);