Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QThread



  • 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?

    Thanks



  • 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.


Log in to reply