On Thursday 01 May 2008 10:46:19 TitCouille Mandriva wrote: > Hello, > > I'm on Mandriva Linux 2009.0 with Gnome 2.22.0. I just switched to Qt 4.4RC > (static). I was using 4.3.4 (static) before. I recompiled my project > without modifying anything and there are 2 problems : > > 1/ addApplicationFontFromData fails. It doesn't fail on the 4.3.4 built > executable, so it's obviously 4.4RC related. My code is quite simple : > > fontID = QFontDatabase::addApplicationFontFromData(res.readAll()); > > but fontID becomes -1 in my new application. I do have fontconfig (version > 2.5.91). > > 2/ Images and icons look really ugly in my Qt 4.4RC executable. They look > like a DOS video game. This is valid also for the toolbar images in the new > Qt Designer & Assistant. > > I made screenshots of both versions of my application : > > 4.3.4 (everything looks fine) > http://img297.imageshack.us/my.php?image=43ws2.gif > > 4.4RC (everything looks messed up; notice the ugly images) > http://img209.imageshack.us/my.php?image=44ne6.gif > > Any suggestions (other than going back to 4.3.4) ?
From the screenshots it looks like your version of Qt 4.3 was built with support for FontConfig and XRender. Your of Qt 4.4 on the other hand does not appear to have XRender and FontConfig support enabled. Could it be that you're missing some development packages? Simon
signature.asc
Description: This is a digitally signed message part.
