Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42976

Qt WinRT: Not able to start QThread

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.4.0 RC
    • Fix Version/s: None
    • Component/s: Core: Threads
    • Labels:
    • Platform/s:
      WinRT

      Description

      I recently installed Qt 5.4 RC. I am facing an issue with QThread. QThread::start() function never returns. It just hangs there. For example in the below code snippet:

      void EmulatorTest::threadTest(){ QThread thread; qDebug() << “starting thread”; thread.start(); qDebug() << “thread started”;
      }
      The debug statement “thread started” never gets printed and my application hangs.

      I am using Qt for winrt and I have tested the above code in both windows emulator and windows phone.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mkalinow Maurice Kalinowski
            Reporter:
            anutosh Anutosh Datta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes