QFuture::waitForFinished does not wait on Linux Qt 5.2.1

  • QFuture::waitForFinished does not wait for the thread to complete in the Linux implementation of Qt 5.2.1.
    We cant speak for 5.3 since it is too buggy to be used, do dont ask if its fixed there or not.

    Here is the code used (copied in fact from the Qt-projects.org website)

    QFuture<void> future = QtConcurrent::run(&meas, &Measure::Run, &appData, false);
    // Wait till done.

    If anyone has a suggestion for a actually working method to simply wait without blocking the UI thread which this is called from, please let me know.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.