Hi everyone,
I am using 3 thread (one gui(M) and two non-gui(X,Y)).In gui thread all display kind of things are there.If i want to display some thing form non gui thread then i am using the signal-slot concept.
In X i am extracting frame from web cam and continuously sending it to gui thread for display. In Y i am doing some operation on that image.In this programme i am getting "QPixmap: It is not safe to use pixmaps outside the GUI thread" and the programme is crashed. This error occurs at any place and any time in gui thread where i am trying to stop displaying image or at message box.Maximum time it occurs after a particular message box.
What can be the error ?How i solve this ?Is it due to thread synchronization ?
Bookmarks