I just compiled myself another Qt version from the 4.7.2 sources, using the following command
./configure -opensource -release -qt-libpng -no-qt3support -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -qt-libpng -qt-libjpeg -nomake examples -nomake demos -platform linux-g++-32 -fontconfig
./configure -opensource -release -qt-libpng -no-qt3support -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -qt-libpng -qt-libjpeg -nomake examples -nomake demos -platform linux-g++-32 -fontconfig
To copy to clipboard, switch view to plain text mode
As you can see, I'm compiling a 32bit Qt on a 64bit Linux, which I unfortunately have to do since the target platform is 32bit only.
Of course, fontconfig-32bit and fontconfig-devel-32bit packages are installed. Otherwise the ./configure would have chocked up, I suppose.
fc-list -v says fontconfig version 2.8.0 is installed.
Still, supportsThreadedFontRendering () keeps returning false.
So if this is a compile-time constant, it should have been set by configure. But still no luck.
Philipp
Added after 7 minutes:
Update:
I just cross-checked with my system-qt, which is obviously native 64bit.
Here, it return thread support is good.
So it is an issue with building QT in 32bit mode on a 64bit linux, and it is not catched by the configure script.
What to do now? Install myself a native 32bit Linux?
Philipp
Added after 16 minutes:
Update 2:
Disregard, it works!!!
The problem was i compiled myself the new Qt, I compiled my application with it, but due to LD_LIBRARY_PATH, i was still runtime-linking against the old .so. I corrected that and now I can render the fonts in every thread I want.
Works marvelous.
Really great!!!
Philipp
Bookmarks