Hashing without relying on Qt?

Pavel Sanda sanda at lyx.org
Mon Oct 18 13:32:26 UTC 2021


On Sun, Oct 17, 2021 at 12:09:06AM -0400, Richard Kimberly Heck wrote:
> >The only solution I found without importing a large new dependency into
> >LyX was to use Qt's QCryptographicHash, just like support/FileName.cpp. I
> >know that LyX tries to have clear boundaries for dependencies, that's why
> >I'm bringing the question to the list. Is the current solution acceptable?
> >Maybe move some of the code to support/FileName.cpp?

QCryptographicHash in FileName.cpp is probably my doing and you are right,
that it would be better to abstract qt hasing somewhere into support and
then use it in FileName & Insettext.

Pavel


More information about the lyx-devel mailing list