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. qtconcurrent and saved state
Qt 6.11 is out! See what's new in the release blog

qtconcurrent and saved state

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 639 Views 2 Watching
  • 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.
  • P Offline
    P Offline
    phirestalker
    wrote on last edited by
    #1

    I am writing an app to find duplicate videos. I am using qtconcurrent to scan the video files and compute the duplicates. I would like to offer a save function in my app as with a lot of videos the process will take many hours Im sure.

    Is there any built in functionality of qtconcurrent that supports starting from where you left off?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Not that I have seen.
      Say if u are using a map, then
      you can use iterators for start and end
      so when your app, resumes again, it could load
      the video list and the last processed and
      adjust start iterator to that.
      http://doc.qt.io/qt-5/qtconcurrent.html#map-1

      1 Reply Last reply
      1
      • P Offline
        P Offline
        phirestalker
        wrote on last edited by
        #3

        of course I don't know what I was thinking. Thanks

        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