[Development] moc output changes coming
Thiago Macieira
thiago.macieira at intel.com
Mon Nov 25 17:45:55 CET 2024
On Monday 25 November 2024 03:24:02 Pacific Standard Time Volker Hilsheimer via
Development wrote:
> This is a debug build with VS2022, cl version 19.41.34123. The issue would
> probably not happen in a release build. gcc and clang seem to cope as well.
That's because I tested gcc for my all-Qt build. Getting the compiler to work
with qtopcua was not fun. At least it wasn't tst_qstringapisymmetry that just
caused a massive swapping and killed my system just by using std::tuple.
qtbase is the only module I ever build for anything that isn't GCC + Linux.
> But if we do that kind of thing, then it’s probably a safe bet that clients
> will also generate meta-object relevant types from some spec or some other
> APIs (such as a COM type library or similar; hello ActiveQt, at least).
Maybe, but the likelihood of a type with 16000 enumeration entries is low.
Even if you look at the source for this header, it was coded in such a way the
Q_NAMESPACE can be disabled, because I'm guessing other compiler limitations
had happened in the past. The CMakeLists.txt for it has something too.
> The issue would probably not happen in a release build
It does happen. I'll disable namespace 0 for MSVC.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20241125/42fca5e9/attachment.bin>
More information about the Development
mailing list