[Development] MSVC not inlining QRect inline functions (anymore?)

Thiago Macieira thiago.macieira at intel.com
Mon Jun 8 21:57:17 CEST 2026


On Monday, 8 June 2026 11:49:20 Pacific Daylight Time Philippe wrote:
> > A small experiment https://codereview.qt-project.org/c/qt/qtbase/+/742796
> 
> This builds fine, but methods are still not inlined :(
> 
> While I am very fond of working in the Visual Studio IDE, I must say I
> understand Thiago's POV about the quality of the MSVC compiler.
> 

Can you try /Ob3 ?

https://learn.microsoft.com/en-us/cpp/build/reference/ob-inline-function-expansion?view=msvc-170

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCG - Platform & Sys. Eng.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5176 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20260608/46652fdb/attachment.bin>


More information about the Development mailing list