Move XSLT files into a Qt resource

Dirk Hohndel dirk at
Mon Dec 16 09:56:31 UTC 2013

On Mon, 2013-12-16 at 09:09 -0800, Thiago Macieira wrote:
> This patch series moves the .xslt files and the xslt/ subdir in the
> installation into a Qt resource. That means it's in a read-only
> section of memory instead of on disk. Benefits are that we don't need
> to install and manage the files, nor play tricks to find them at
> runtime. Drawbacks are that they are now always loaded into memory
> (albeit in a read-only, thus sharable and discardable page) and
> they'll most likely require decompression before use.
> If this is a direction we're comfortable with, I can look into doing
> the same for other types of file resources.

Give the issues we had with finding resources I am all for this.
And I am reasonably certain that ALL of our OSs at this point page
executables in on demand, anyway. So this shouldn't really make a big


More information about the subsurface mailing list