[Qt-interest] QFontDatabase::supportsThreadedFontRendering() returns false

Philipp Münzel mailing-lists at philippmuenzel.de
Mon Mar 21 19:41:32 CET 2011


Hello all,

I have a problem with painting a scene to a QImage, using a seperate thread.
According to this blog entry http://labs.qt.nokia.com/2007/09/27/multi-threaded-text-layout-and-printing/
this is possible if the font rendering suppports multithreading, which is the case on Linux/X11 when fontconfig is enabled.

I tried on openSUSE 11.3 64bit and Ubuntu 10.10 64bit,
with Qt 4.7.1 compiled from the sources, of course with the -fontconfig option.
fc-list -v says that fontconfig version 2.8.0 is installed.

env doesn't display an environment variable like QT_X11_NO_FONTCONFIG.

However, I always get false for QFontDatabase::supportsThreadedFontRendering() .

So why is multithreaded font rendering disabled?

Regards,
Philipp



More information about the Qt-interest-old mailing list