I am facing one issue
“It is not safe to use pixmaps outside the GUI Thread” in QT Embedded linux
“Cannot set parent, new parent is in different thread”
Any help is appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
QPixmap is display-dependent is designed and optimized for showing images on screen.
It accesses the underlying graphics system. Most graphics systems are not thread-safe. So hence the warning.
Try using QImage.