Trent Apted wrote: > 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 tried to reproduce that on my SuSE box with LyX 1.4.2svn, and it works here. If I remove the .qt directory, a new one is created by LyX (with no files in it), and it starts perfectly well with a nice style. > 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. I disagree. This is a bug in the qt version you are using. It could either be a genuine qt bug (and SuSE applied some patches around it), or it could be caused by some gentoo settings. File a bug report to gentoo, the gentoo qt maintainers likely know whether they need to forward the bug to trolltech or can fix it themselves. If you really want to have that fixed in LyX, persuade the gentoo LyX maintainers that they add a patch to the gentoo LyX build. We should not add workarounds for broken qt versions IMO, they only suck developer resources from more important bug fixes. Georg