I wonder if moc-ng could handle this? https://woboq.com/blog/moc-with-clang.html
Tom Isaacson -----Original Message----- From: Development <development-boun...@qt-project.org> On Behalf Of Thiago Macieira Sent: Thursday, January 3, 2019 1:43 AM To: development@qt-project.org Subject: Re: [Development] Use QMetaEnum::keyCount() to initialise array On Wednesday, 2 January 2019 09:45:29 -02 Thiago Macieira wrote: > Because the information is not known to the compiler at compile time. To be stricter: it *is* know to the compiler, but without a constexpr reflection API, we can't get the information out of the compiler and into code. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development