On Monday 14 December 2015 10:18:52 Duane wrote: > One thing that I notice is that for my Linux build, if I check the font > family using QApplciation::font(), on Qt4 I get DejaVu which exists on > my system and the point size is 12. With Qt5 this returns "Sans Serif" > which doesn't exist and the point size is 9. If I set the Qt5 version > to use DejaVu with a point size of 12 this works.
> Any idea what is different here? Does the "default" Qt that gets > installed with the online installer or maintenance tool have fontconfig > support built in or not? It does, which is why "Sans Serif" exists. It's not a font, it's a standard name and fontconfig will resolve that to an ok sans serif font. Make sure you don't have a font configured for Qt 4 with qtconfig. If you do, remove ~/.config/Trolltech.conf. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest