<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 27 September 2016 at 08:01, Thiago Macieira <span dir="ltr"><<a href="mailto:thiago@macieira.org" target="_blank">thiago@macieira.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On domingo, 25 de setembro de 2016 12:47:23 PDT Dirk Hohndel wrote:<br>
> So we now have a few reports that this isn’t working anymore…<br>
> I can reproduce things here but have no clue how to fix it.<br>
><br>
> First I get this error<br>
><br>
> QObject::connect: Cannot queue arguments of type 'QBluetoothServiceInfo'<br>
> (Make sure 'QBluetoothServiceInfo' is registered using qRegisterMetaType().)<br>
<br>
</span>I remember seeing this elsewhere. It might be a Qt bug.<br>
<span class=""><br>
> which appears to be caused by this code in qtserialbluetooth:<br>
><br>
> #elif defined(Q_OS_ANDROID) || (QT_VERSION >= 0x050500 && defined(Q_OS_MAC))<br>
> // Try to connect to the device using the uuid of the Serial Port Profile<br>
> service QBluetoothAddress remoteDeviceAddress(devaddr);<br>
>       serial_port->socket-><wbr>connectToService(<wbr>remoteDeviceAddress,<br>
> QBluetoothUuid(QBluetoothUuid:<wbr>:SerialPort));<br>
>       timer.start(msec);<br>
>       loop.exec();<br>
<br>
</span>There's no QBluetoothServiceInfo in there. The only reference in the source<br>
code is<br>
<br>
     serial_port->socket = new<br>
QBluetoothSocket(<wbr>QBluetoothServiceInfo::<wbr>RfcommProtocol);<br>
<br>
I don't remember the Bluetooth code implementation anymore (even though I<br>
mentored the student who wrote it). Is the code in qtserialbluetooth.cpp<br>
running in an auxiliary thread, started by libdc?<br>
<br>
I've attached a blind attempt at fixing this. I have no idea if it helps in any<br>
way. It may make things even worse.<br>
<br>
Can you run with QT_FATAL_WARNINGS=1 and then give me the backtrace of that<br>
QObject::connect warning? (this requires that Qt print no other warnings<br>
before this one) My guess is that this is the emission of the<br>
QBluetoothServiceDiscoveryAgen<wbr>t::serviceDiscovered signal starting at<br>
QBluetoothServiceDiscoveryAgen<wbr>tPrivate::<wbr>performMinimalServiceDiscovery<wbr>.<br>
<br></blockquote><div>Did this get resolved?  It could be related to my friend's inability to download from his Petrel 2 to his Macbook pro.<br></div></div><br></div></div>