[Qt-interest] Solaris Font Issues Porting Qt3 to Qt4
Jake Colman
colman at ppllc.com
Wed Sep 8 20:13:47 CEST 2010
Our application is a mixed Motif/Qt application using the Qt Motif
Extension. When using Qt3, the fonts on my Qt screens were an exact
match for the fonts on my Motif screens. Since upgrading to Qt4, the Qt
fonts are quite ugly and certainly do not match.
I use an app-defaults file to specify my Motif fonts. In Qt I do the
following:
QFont Font;
Font.setFamily("Helvetica [Adobe]");
Font.setPixelSize(12);
QApplication::setFont(Font);
What do I need to do differently in Qt4 so that I get the above code
chooses the same font that it did in Qt3?
Thanks.
...Jake
--
Jake Colman | Director, Software Development
Principia Partners LLC
101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
e: colman at ppllc.com | w: www.principiapartners.com
Credit technology innovation awards winner 2008 and 2009
More information about the Qt-interest-old
mailing list