[Qt-interest] Widget does not update content after some time
Damien R
damien.rg+news at gmail.com
Thu Oct 22 11:24:45 CEST 2009
John McClurkin wrote:
> Well, you can test Brad's assumption easily enough
>
> void setImage(std::size_t i)
> {
> {
> boost::mutex::scoped_lock lock(mutex_);
> uchar * imageBuffer = image.bits();
> memset(imageBuffer, i * 25 % 255, WIDTH * HEIGHT * 3);
> }
> update();
> }
>
> This will release the mutex before update is called.
Yes of course but it does not help, I have the same problem.
More information about the Qt-interest-old
mailing list