Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5
-
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
- relates to
-
QTCREATORBUG-31492 Automoc "No relevant classes found" for conditional Q_OBJECT in cpp
-
- Closed
-
For Gerrit Dashboard: QTBUG-107109 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
447012,2 | Fix moc warning for qwineventnotifier.h on non-Windows platforms | dev | qt/qtbase | Status: MERGED | +2 | 0 |