m_pqFileSystemModel = new QFileSystemModel;
m_pqFileSystemModel->setRootPath( QDir::rootPath() );
ui->qtvTreeView->setModel( m_pqFileSystemModel );
GUI hangs on creation, and on subsequent expands of folders with large number of files.
Anyone know how to speed things up ( on windows ) ?
The problem is that a lot of work is being done on the GUI thread (don't know if all is just graphics or some work is done as well).
Moving the QFileSystemModel object in a different thread solves the speed problem, but after a while the application crashes under a memory access violation exception.
This problem is old as Qt and no answer is in given to date as to how to circumvent the problem.
Bookmarks