[Bug 18120] No text in Qt-4.5.0 apps when winver >= 2000

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 5 16:27:53 CDT 2009


--- Comment #31 from George Yohng <georgewi at oss3d.com>  2009-10-05 16:27:52 ---
(In reply to comment #30)

> No it didn't. As soon as Qt 4.5.0 came out, lots of people started having these
> problems. I am using wine 1.0.1, the latest stable version. What wine version
> have you used that works with Qt 4.5.*

I think Qt 4.4.3 didn't work with the latest Wine either. I unfortunately do
not have the system to verify this now.

The other version of wine which has been tried was very old, from 2007 or 2005

We were running software on Muse Research Receptor, which runs Linux+Wine

> "Adding few lines inside Qt source code to provide an explicit substitution for
> the fonts, made all the text appear properly."
> I bet providing your patch would be helpful. It couldn't hurt.

This isn't really a patch, but a very particular solution to make a program
work on a predetermined system. This isn't something that the community can
universally benefit from:

    app->setFont(QFont("Luxi Sans",8));
    QFont::insertSubstitution("Arial","Luxi Sans");
    QFont::insertSubstitution("Verdana","Luxi Sans");
    QFont::insertSubstitution("Tahoma","Luxi Sans");
    QFont::insertSubstitution("MS Sans Serif","Luxi Sans");
    QFont::insertSubstitution("Microsoft Sans Serif","Luxi Sans");

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list