[PyQt] Standard font in PyQt applications (Eric included)

Danny Pansters danny at ricin.com
Wed Feb 13 22:38:49 GMT 2008


On Wednesday 13 February 2008 13:28:21 Sibylle Koczian wrote:
> Hello,
>
> I'm using PyQt 4.3.3, Qt 4.3.3, Eric 4.0.4(r1711), sip 4.7.3, QScintilla
> 2.1, Python 2.5.1 on Gentoo Linux, with KDE 3.5.8 as my Desktop manager.
> After one of the last Gentoo updates the font in Eric and in all my PyQt
> applications suddenly changed to something very small and quite ugly.
> Regarding Eric: it's not the font used for the source code - that didn't
> change and would be easily reset. It's the font for menus, buttons and the
> like.
>
> I don't much want to set a font explicitly in every application, and until
> this upgrade it was quite nice. What can have happened? Which information
> would be useful?
>
> No change of fonts in other applications, including KDE itself.
>
> Regards,
> Sibylle

I think you'd want to run qtconfig, not the qt3 version, but the qt4 version. 
On FreeBSD it's called qtconfig-qt4. For gentoo, look at your qt4's ebuilds 
to see under what name it gets installed. Then you can set fonts for all qt4 
apps.

HTH,

Dan


More information about the PyQt mailing list