Closed ahigerd closed 1 year ago
Oh. Crap. Turns out this doesn't work after all -- my plugin was triggering this on the main thread already by mistake.
Okay, used a Qt 5.0+-compatible technique instead.
oh please don't ... I believe it's pretty awesome as is now; old systems that still hang on qt5 < 5.10 may not cope to clap plugins anyway, so why bother?
i'll take back my pledge for you do try it, sorry, it was some kind of knee-jerk reaction somehow :)
I already updated this PR to fix it! You can reject it if the technique is too ugly for you, but it works.
Okay, it's too ugly. :P
The previous PR used a technique introduced in Qt 5.10, but since @rncbc wants to support Qt 5.9, this one works in 5.4 and higher. (I think I might like it slightly better anyway.)