[Qt-interest] How to avoid absolute file locations
Samuel G
samuel857 at gmail.com
Sun Jan 11 16:27:40 CET 2009
On Sat, Jan 10, 2009 at 4:32 AM, Brad Hards <bradh at frogmouth.net> wrote:
> This is sort-of what I meant, but the implementation is a bit different.
>
> Qt comes with support for embedding resources (in particular, a resource
> compiler that will take the path to the image and link it in, and a special
> syntax for referring to linked objects). You don't have to do the data file
> conversion by hand.
>
> See http://doc.trolltech.com/4.4/resources.html
>
> Brad
I see. Blowing up the size of binary data by conversion to
embedded hex is not as absurd as might initially appear because
they will in any case get condensed again during compilation.
The output of the resource compiler itself is deleted before
sharing (and never inserted in repositories).
Thanks!
Samuel
More information about the Qt-interest-old
mailing list