Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. removeRow becomes slow in qt6
Forum Updated to NodeBB v4.3 + New Features

removeRow becomes slow in qt6

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 187 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.
  • A Offline
    A Offline
    Alyuu
    wrote on last edited by
    #1

    Hello,
    I'm new here and this is my first post.
    I have a problem with QTableWidget, I use it to manage a not very large scale data (about 20x10), in my code, I use removeRow() to delete one entire row data, this function runs very fast in qt 5.15, but becomes really slow in qt 6.2.3, it takes about 20 to 30 sec! Could anyone tell me why?

    JonBJ 1 Reply Last reply
    0
    • A Alyuu

      Hello,
      I'm new here and this is my first post.
      I have a problem with QTableWidget, I use it to manage a not very large scale data (about 20x10), in my code, I use removeRow() to delete one entire row data, this function runs very fast in qt 5.15, but becomes really slow in qt 6.2.3, it takes about 20 to 30 sec! Could anyone tell me why?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Alyuu
      Hello and welcome.

      You have 20 rows and you say it takes "20 to 30 sec" to remove one row?? I suggest you try some minimal code, because it cannot take that long, even if there is an issue with Qt6.

      1 Reply Last reply
      2

      • Login

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