[Interest] [Qt-interest] (no subject)
Jason H
scorp1us at yahoo.com
Mon Nov 21 21:55:40 CET 2011
Zip is patent encumbered. There is a class with the compression algorithm made available as a QIODevice in a Qt Solution. But the zip table is what is missing. If you only need to support your own zips, then a simple serialization of QMap<QString, QByteArray> would suffice. You'd probably NOT want to use a QMap though, because you'd want to handle the I/O in a file-by-file chunk-by-chunk manner. But the datastream would be in a QMap format.
________________________________
From: Graham Labdon <Graham.Labdon at avalonsciences.com>
To: Konstantin Tokarev <annulen at yandex.ru>
Cc: "qt-interest at qt.nokia.com" <qt-interest at qt.nokia.com>; "interest at qt-project.org" <interest at qt-project.org>
Sent: Monday, November 21, 2011 9:15 AM
Subject: Re: [Interest] [Qt-interest] (no subject)
What libraries are available to produce zip files in Qt? The ODT files in Qt use QZipWriter which is private
-----Original Message-----
From: Konstantin Tokarev [mailto:annulen at yandex.ru]
Sent: 21 November 2011 13:27
To: Graham Labdon
Cc: qt-interest at qt.nokia.com; interest at qt-project.org
Subject: Re: [Qt-interest] (no subject)
21.11.2011, 16:06, "Graham Labdon" <Graham.Labdon at avalonsciences.com>:
> Hi
>
> I am attempting to develop a simple text editor app that is able to save and read files in a custom XML format (designed by me).
>
> The user should be able to add an image to the document, but I am having trouble coming up with a strategy to save this to my file other than saving the data inline.
>
> Has anyone else done this before or have any ideas on a good strategy?
E.g. in ODT format embedded resources are stored alongside with XML (which contains links to files), and whole thing is zipped together.
--
Regards,
Konstantin
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20111121/747428bc/attachment.html>
More information about the Interest
mailing list