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

Richard Kimberly Heck rikiheck at lyx.org
Thu Feb 20 08:09:56 UTC 2020


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....

Riki




More information about the lyx-devel mailing list