| Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
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) ? TitCouille
I've reported a similar problem and by now I've had no answer from trolls. QFont class has changed substantially his behaviour, as now does'nt render fonts as 4.3.4 version did. The same occurs with icons, that look ugly. They may have made surely internal changes to the font rendering engine. Passing my application, that ran OK on Win/Unix in 4.3.4 showed a lot of display errors in 4.4rc1. I think we have to download the final 4.4 version ( now it's downloadable for registered users ) to test our application and ask for a correction if errors persist... > 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::addApplicationFo > ntFromData(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) ? > > TitCouille To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
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
Attachment:
Attachment:
signature.asc
Description: This is a digitally signed message part.