BigFastAndrey
23rd April 2012, 07:25
Hello everybody.
Our project is based on Qt version 4.7.3 and everything works nice.
But several days ago we tried to port our solution to 4.8.1. One problem appears.
Application includes sophisticated report printing subsystem which performs painting in another (non-GUI) thread.
This warning appears in ouput and has a source in QPrinter insides:
QPixmap: It is not safe to use pixmaps outside the GUI thread
Printing of images doesn't work because of this.
Does anyone know the solutions? Excepting to perform printing from GUI-thread...
Thanks.
Our project is based on Qt version 4.7.3 and everything works nice.
But several days ago we tried to port our solution to 4.8.1. One problem appears.
Application includes sophisticated report printing subsystem which performs painting in another (non-GUI) thread.
This warning appears in ouput and has a source in QPrinter insides:
QPixmap: It is not safe to use pixmaps outside the GUI thread
Printing of images doesn't work because of this.
Does anyone know the solutions? Excepting to perform printing from GUI-thread...
Thanks.