I am designing a UI in QT. There are thousands of records in QTableView which are save in a QList. When i search something, the application hangs. I need a new thread to start so that I can call my function in the new thread. Can anybody please suggest me a suitable way of doing this?
Perhaps you should use a database backend with proper indexing? You could even use an in-memory SQLite database on which you use a QSqlQueryModel.