Show us your actual code. Make sure you call exec on the same variable as the one you initialize in line #4 of what you posted. Note that I mean the same variable, not variable with the same name.
Show us your actual code. Make sure you call exec on the same variable as the one you initialize in line #4 of what you posted. Note that I mean the same variable, not variable with the same name.
Hi wysota,
I was in the process of sorting through code to honor your request as best I could. I'm not at liberty to show it all unfortunately. Doing so helped me find the problem! I'm back to say thank you, and to share what I found in case someone else Googles their way here.
There's a warning in the Qt docs to never delete an object in a thread other than the one that created it. Oops. This code juggles a few threads, and sure enough I was guilty of this. I changed "delete obj" to "obj->deleteLater()", and the crashes went away.
Thanks again!
Bookmarks