Files
cmake/Source
Joerg Bornemann 6280cc3df9 Autogen: Add AUTOMOC support for C++ module units
Process C++ module interface and partition units that are members of a
FILE_SET of type CXX_MODULES.  moc is run on such units and its
generated output is compiled as a module implementation unit of the same
module, as its own scanned translation unit rather than folded into
mocs_compilation.cpp.  Macro-less units get an empty placeholder; module
units and their dependencies are tracked in the autogen depfile and as
byproducts for correct incremental rebuilds.

This requires Qt 6.13, whose moc supports C++ module units.  With older
Qt nothing can be generated for a module unit, so a meta-object macro
found in one is reported as an error rather than left to fail later in
the compiler or the linker.  Such a unit is no longer handled as an
ordinary source, which also means its moc include directives are not
honored and AUTOUIC does not process it.

moc rejects a meta-object macro in a module implementation unit or a
private module fragment, and AUTOMOC does not work around that.
2026-09-10 13:13:11 +02:00
..
2026-08-31 11:50:18 -04:00
2026-08-31 11:50:18 -04:00
2026-09-04 00:05:29 -04:00
2026-01-29 10:16:59 -05:00
2025-08-01 09:56:00 -04:00
2025-11-12 14:54:35 -05:00
2025-10-07 09:29:18 -04:00
2026-04-16 15:10:35 -04:00
2025-08-26 14:29:01 -07:00
2026-04-16 15:10:35 -04:00
2026-01-27 18:15:26 +01:00
2026-07-30 11:52:27 -04:00
2026-07-29 15:04:59 -04:00
2026-07-27 09:56:23 -04:00
2026-04-16 15:10:35 -04:00
2026-07-23 10:28:41 -04:00
2025-11-12 14:54:35 -05:00
2025-11-12 14:54:35 -05:00
2026-02-03 09:34:23 +03:00
…