In Java you have to do the synchronisation as well of course... It's not as simple as calling any function doing anything you want anywhere you want.
In Java you have to do the synchronisation as well of course... It's not as simple as calling any function doing anything you want anywhere you want.
Sorry I didn't update this thread sooner. I did indeed solve it by subclassing QCustomEvent. In the end the solution was simple to implement, and works very well. Thank you all for your help and patience.
/edit : the crash was being caused by accessing a function running in another thread directly. It was solved by bundling the data in the subclassed QCustomEvent as suggested.
Bookmarks