[Development] [Windows] State of the Qt6 natvis file

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Fri Feb 21 21:56:42 CET 2025


Il 21/02/25 19:00, Philippe ha scritto:
> /You can't just copy and use the file because of the "##NAMESPACE##:: 
> everywhere/
> You can find/replace this token all over the file. Easy and it works 
> (using Visual Studio).

Considering PDB has support for embedding natvis files, they should be 
patched and embedded when building Qt itself. Alas, it seems that this 
isn't possible using CMake APIs, but maybe just passing the right 
options to the linker works...?

https://gitlab.kitware.com/cmake/cmake/-/issues/16874

https://learn.microsoft.com/en-us/cpp/build/reference/natvis-add-natvis-to-pdb?view=msvc-170


I'd file a suggestion on the task tracker.


Thanks,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - Trusted Software Excellence

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4244 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250221/6917b609/attachment.bin>


More information about the Development mailing list