-----BEGIN PGP SIGNED MESSAGE-----

On Sonntag, 21. Dezember 2003 14:32, Atsushi Shimmra wrote:
> Kornel Benko wrote:
> 
> > Upgrading to SuSE 9.0 (with QT 3.2.1-56 and gcc 3.3.1), I have now problems to 
> > launch the qt-lyx.
> > 
> > It crashes in call to QFontInfo() in src/frontends/qt2/lyx_gui.C:291
> 
> Me , too.
> 

Ok, so I was not the only one ...

As nobody else cares, I tried to look into this. The problem here is,
that
        QFontInfo(font).family().latin1()
returns NULL. The conversion to "string" afterwards leads to crash.

Changing lines
        return QFontInfo(font).family().latin1();
to
        const char *x = QFontInfo(font).family().latin1();
        return x?x:"";

gives me at least a working qt-lyx version.

May this be of some help to anyone?

        Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBP/BpPrewfbDGmeqhAQHL6AP/TNVYXybOyGjEk7xWU8kerXfXAEQhqP0P
WBLWqhDHzxjODKoHUyr9xv47+c0f+KNpNclCpsNYGHw8lZGg4HDGGskhCZS0T322
H4HS5gGzc3IuAI390tDi0mcMILXg5E4EIFaLsL/tUuycv8zPISWfwxdmMMrjzYTz
04GvkqyLdI4=
=Ag/M
-----END PGP SIGNATURE-----

Reply via email to