[Development] 64-bit QFlags support
Thiago Macieira
thiago.macieira at intel.com
Sun Aug 18 07:13:44 CEST 2024
On Sunday 11 August 2024 10:31:06 GMT-7 Thiago Macieira wrote:
> It might be possible to consult the string array and avoid having to have
> string indices all over the place. This will require some more testing,
> especially with the QtOpcUA::NodeIds massive listing.
>
> I may have a line of sight to generating the string table, but that
> definitely requires C++20 for the ability to have literal types in template
> parameters.
Update:
I had to rewrite the code that was using std::tuple with our own, hand-rolled
template pack holder because libstdc++'s std::tuple causes GCC to run out of
memory and go into swap hell, while Clang sops at a hard limit (libc++'s
std::tuple isn't affected).
But I managed to make it work and compile with VS2022, Clang 18, GCC 14, and
whatever Clang comes with XCode. I even got the metatype support I mentioned
above working. I'm running it through the CI now to see if there's anything I
missed and if QNX and INTEGRITY will join us or if they will keep the old moc-
generated content. I will not spend any time at all trying to understand
problems exclusive to them.
The compilation times are expected to increase, but not by much. I tested
tst_qstringapisymmetry, which has 787 slots, and compilation times went up
between 6.5 and 10% (tested in debug mode).
--
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/20240817/a4b05f4e/attachment.bin>
More information about the Development
mailing list