[Qt-interest] Loading QPixmap from file with QtConcurrent causing crash
Atlant Schmidt
aschmidt at dekaresearch.com
Mon Jun 13 17:38:12 CEST 2011
Thiago:
Didn't you say it exactly the other way around? That
QPixmaps can *ONLY* be created and used in the GUI
thread? Perhaps the confusion arises from the use
of the phrase "main GUI thread"?
Atlant
-----Original Message-----
From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of Thiago Macieira
Sent: Monday, June 13, 2011 11:32
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] Loading QPixmap from file with QtConcurrent causing crash
Em Monday, 13 de June de 2011, às 15:22:25, Cole, Derek escreveu:
> I think i read somewhere that you can only use QPixmap in a thread other
> than the main GUI thread. is this correct?
Yes. You may have read that in the email I sent 18 hours ago to this mailing
list.
-=-=-=-=-=-=-
Em Monday, 13 de June de 2011, às 00:26:14, Andrei Sebastian Cîmpean escreveu:
> Hello everybody,
>
> I have a problem and I hope I can find the answer here.
[snip]
Answering the subject: QPixmap cannot be passed to another thread. They can
only live in one thread, the GUI thread.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
Thank you.
Please consider the environment before printing this email.
More information about the Qt-interest-old
mailing list