<div dir="ltr"><div dir="ltr">On Wed, May 15, 2019 at 4:37 AM jlk <<a href="mailto:jlk2144@gmail.com">jlk2144@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">However, on MSVC 2017, I've now read about a bug (in the <br>
C++ standard requirements, I guess) that prevents qOverload from <br>
working. Could someone suggest a workaround for my case?<br></blockquote><div><br>If you can't use qOverload or QOverload<...>::of(), then you have only two other options. Static casting the signal to the exact method type, or specifying the template parameter explicitly.<br>Either:<br>QObject::connect(process, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), receiver, slot);<br>or<br>QObject::connect<void (QProcess::*)(int, QProcess::ExitStatus)>(process, &QProcess::finished, receiver, slot);</div></div></div>