Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QThread
Forum Update on Monday, May 27th 2025

QThread

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 740 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bilal
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved