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

moc: elaborate on warning when no relevant classes are found

    XMLWordPrintable

Details

    Description

      moc outputs the following warning if no classes inherit QObject, or if no classes contain the Q_OBJECT macro:

      "No relevant classes found. No output generated."

      However, it would be nice if moc elaborated a bit and distinguished between the two cases. For example, if no classes inherit QObject, moc should say so. And if classes that inherit QObject do not contain the Q_OBJECT macro, moc should say so instead of claiming "no relevant classes" were found.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes