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

moc warnings output on stderr

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.7.0
    • Build tools: moc
    • None

    Description

      When moc uses a warning like "No relevant classes found", it output the message on stderr (cf. qtbase\src\tools\moc\parser.cpp, Parser::warning / Parser::note)

      Unfortunately, when invoking a bash script to moc from XCode, the warning is transformed as an error. Massage is:

      Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure

      It would be more coherent to use stdout and not stderr for warnings.

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            jirauser26727 user-04d21 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes