[Qt-interest] embed font into QT application
Giuseppe D'Angelo
dangelog at gmail.com
Mon Jun 15 12:15:55 CEST 2009
On Mon, Jun 15, 2009 at 12:01 PM, Serge<mb0 at km.ru> wrote:
> Hi,
>
> is it possible to store some font file in resources of my application
> and use it for QPainter.setFont without installing font on target system?
>
> i need to use special font in my app, but it can absent on target
> machine. How to be in this case?
You can. Give a look to QFontDatabase::addApplicationFont() method.
--
Giuseppe D'Angelo
More information about the Qt-interest-old
mailing list