[RFC][PATCH] Change to buffer lookup for given temporary files

Enrico Forestieri forenr at lyx.org
Thu Feb 20 12:01:27 UTC 2020


On Thu, Feb 20, 2020 at 03:09:56AM -0500, Richard Kimberly Heck wrote:
> On 2/20/20 2:24 AM, Enrico Forestieri wrote:
> > On Wed, Feb 19, 2020 at 10:33:45PM +0100, Stephan Witt wrote:
> >
> >> What I wonder: there are the Qt elements used. Why don’t we rely
> >> on the services of QFileInfo class? E.g. canonicalFilePath() and
> >> friends? Are there historical reasons only?
> > Yes, at the time it was not possible using Qt in src/support.
> 
> Did we make an 'official' decision about this? If so, has it been
> recorded somewhere, like the development notes in the repo? If we're
> really prepared to allow Qt pretty much everywhere---i.e., after all
> these years, we're willing to admit that LyX is a Qt-based app---then
> there may well be a lot of simplifications we could make, maybe in the
> 2.5 cycle. Of course, that would make us more vulnerable to Qt bugs....

In a developers meeting at the end of 2008 it was decided that Qt could
be used if there were good reasons for it:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg160412.html
But at the end of 2011 its use was still frowned upon:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg171844.html

-- 
Enrico


More information about the lyx-devel mailing list