OK. So this is more an annoyance than a bug. But, until you know the
solution, it looks a lot like a bug. It is discussed here:

http://forums.gentoo.org/viewtopic-t-273397.html

Basically, lyx relies on the existence of ~/.qt/qtrc to load the QT
interface frontend. There does not need to be anything in the file -- it
can be completely empty -- it just needs to exist. OK, so if it's empty
you get the crappy motif flavour of QT that looks almost as bad as
xforms. The problem is that the qtconfig bundled with QT is broken and
does not create ~/.qt/qtrc -- only (an empty) ~/.qt. To get a ~/.qt/qtrc
you need to log in with a KDE session, which, of course, requires that
you install KDE (upon which LyX does not and should not depend).

I know this is not really the fault of LyX -- the blame probably lies
with the broken qtconfig -- but even if it is fixed it would still be
nice to have a message telling you that you should run it if LyX was
compiled with the QT bindings and ~/.qt/qtrc does not exist.

As is is, with qtconfig broken, I would like to suggest the following,
at least until LyX has a GTK frontend: Either bundle a dummy qtrc with
LyX (mine is about 1KB, but has a library path in it so would need to be
created with ./configure) and use it if ~/.qt/qtrc does not exist, or at
least print out a message notifying that it does not exist. Even when
lyx is run with `-dbg init,gui` there is no discernable message that
indicates that this file is missing. If anything it looks like QT is
working, because it prints out some crud about missing locales.


Cheers,
    Trent.




Reply via email to