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

QProcess on Windows warns "QTimer can only be used with threads started with QThread" if no application object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.5.0 Beta
    • 5.0.0
    • Core: I/O
    • None
    • Windows 7 32-bit, MSVC2010
      qtbase b46d8240ead50791ff391214f922d8036bc50ef7
    • 96cc8eec9b32f4e80c2d748687c485bc79133d39

    Description

      On Windows, using various QProcess functions without a Q*Application object will result in a warning, "QTimer can only be used with threads started with QThread".

      This can be reproduced by running the tst_moc or tst_uic autotests on Windows.

      I'm not sure if this will be considered a bug, since the documentation generally advises to create a Q*Application before using anything else; however, if this isn't a bug in QProcess, then it is a bug in the named autotests.

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              rmcgover Rohan McGovern (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes