[Interest] Low-level font identifier

Yves Bailly yves.bailly at sescoi.fr
Wed Apr 9 16:37:50 CEST 2014


Greetings all, 

Having to reuse some piece of very old code, I need to get the low-level handle on a font - specifically
the HFONT, as we're running on Windows.
In the Qt3 days, there was a method QFont::handle() which was providing this information, but it
seems it's gone in Qt5.

Having a QFont, is there any easy way to get the corresponding HFONT? 

Thanks for any hint.




More information about the Interest mailing list