>> I recently found out that none of the QRect inline functions are inlined
>> by msvc no matter what compiler options I pass. Tested with recent cl
>> (19.51.36244) but also saw this with older msvc2022 compilers.
>> Is this known and should/can we do something against this?
> 
> Get a better compiler.
> 
> MSVC is well-known for *not* inlining functions that are dllimported, if they
> are anything except the most trivial.
clang-cl functions as drop-in replacement for msvc that would deliver 
superior codegen without the need to migrate to another runtime library. 
but unfortunately clang-cl is still not supported by qt (neither 
officially, nor with CI build tests).
i hope that qt could officially support clang-cl at one point (and use 
it to build their binary distribution)
-- 
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to