Re: Using QEvent to avoid a slot to be called "concurrently"?
"By putting some prints at the beginning and at the end of the slot, I noticed that in these cases the slot is called multiple times concurrently (but, as it appears, always in the same thread the receiver object lives in"
Please show a compilable example that displays this behaviour. This should not be happening so either you are mistaken or there is something wrong with your application. I recall someone had a similar problem that seemed to be caused by using a third party library, although the real reason was not unearthed iirc.
You should definitely find the cause and not work around it because you don't know what else could be going wrong.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks