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

AUTOMOC warns about missing relevant classes after syncqt.cpp migration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.0
    • 6.5
    • Build System: CMake
    • None
    • 3cd19719e (dev)

    Description

      Some platform-specific header files migrated to the common section of Qt modules. These files have internal guards for their content, so AUTOMOC doesn't find any relevant content in there and prints a warning at compile time as following:

      AutoMoc: .../src/corelib/kernel/qwineventnotifier.h:0:1: note: No relevant classes found. No output generated.
      

      The solution could be in keeping these header files in platform/feature specific sections, still adding them to a CMake source tree according to public header filter, but disabling AUTOGEN if platform/feature condition is not met.

      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
              semlanik Alexey Edelev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes