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

moc should warn about #includes not found

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 4.6.3
    • Build tools: moc
    • None

    Description

      Currently, when moc cannot find an #include, it will just ignore it. This makes debugging some problems like poking in the dark. E.g. when it complains "Error: Undefined interface", but I can see the matching Q_DECLARE_INTERFACE in the file that should be included.

      Attachments

        1. 0001-moc-warn-about-includes-not-found.patch
          2 kB
          Olivier Goffart (closed Nokia identity)

        Issue Links

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

          Activity

            People

              ogoffart Olivier Goffart (Woboq GmbH)
              devurandom Dennis Schridde
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes