auto skipSignal = &AskUserActionInterface::askUserSkipResult; q->connect(askUserActionInterface, skipSignal, q, [=](KIO::SkipDialog_Result result, KJob *parentJob) { /home/user/kde/src/kio/src/core/chmodjob.cpp:209:21: warning: couldn't find method from pmf connect, please report a bug [-Wclazy-connect-non-signal] q->connect(askUserActionInterface, skipSignal, q, [=](KIO::SkipDialog_Result result, KJob *parentJob) { ^
The snippet is from KIO on master with qt6
A possibly relevant merge request was started @ https://invent.kde.org/sdk/clazy/-/merge_requests/130