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

[CLOSED] Write File in QtConcurrent Threaded



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


Log in to reply