Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [CLOSED] Write File in QtConcurrent Threaded

    General and Desktop
    1
    1
    554
    Loading More Posts
    • 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.
    • F
      Francknos last edited by

      Hi everybody,

      I have some code which save data in file, and it works fine but blocking my GUI.

      I put all treatment in a thread using QtConcurrent::run. It's done and work fine with ProgressDialog and I can stop thread with a button.

      But there is a probleme ...
      When I run my code without thread, the writing speed is ~10 Mo/s.
      When I run my code with thread, the writing speed is no more than ~1,8Mo/s.

      Someone have and idea to write at ~10Mo/s with my thread or it's impossible?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post