[Qt-interest] QAbstractItemView::scrollToBottom and multiple threads
J-P Nurmi
jpnurmi at gmail.com
Fri May 29 10:00:12 CEST 2009
> So what I do in the worker thread is
>
> m_listWidget->addItem('Some Text');
> m_listWidget->scrollToBottom();
Hi,
Quoting http://doc.qtsoftware.com/4.5/threads.html#qobject-reentrancy:
"Although QObject is reentrant, the GUI classes, notably QWidget and
all its subclasses, are not reentrant. They can only be used from the
main thread."
--
J-P Nurmi
More information about the Qt-interest-old
mailing list