Files
cmake/Source
Joerg Bornemann 0fd711348c Autogen: Pass WIN32 to moc when targeting the MSVC ABI
WIN32 was added to the moc definitions only when no moc_predefs.h was
generated, as of commit 5f0f84c7e0 (Autogen: Don't add a WIN32 moc
definition if we have a moc_predefs.h file, 2018-11-27,
v3.14.0-rc1~298^2). For the MSVC ABI that is not enough: WIN32 comes
from our default Windows flags rather than from the compiler, so a
generated moc_predefs.h does not carry it either.

Keep the existing fallback for the other toolchains. GCC predefines
WIN32 on Windows, but only with the GNU dialects, so injecting it
unconditionally would make moc disagree with a strict ISO compile.

Issue: #28093
2026-09-18 11:34:49 +02:00
..
2026-09-15 09:49:34 -04:00
2026-09-17 00:05:34 -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-09-10 07:09:47 -04:00
2026-01-27 18:15:26 +01: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
2026-02-03 09:34:23 +03:00
…