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

        Issue Links

          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: