diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2011-08-30 16:58:11 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2011-08-31 10:48:52 +0200 |
commit | e365ebc4211b33a416bccb549abc5797c86e1420 (patch) | |
tree | 5eeb3c5e9427abedfa86f8d72ce754555771f909 /installerbuilder/common/binaryformat.cpp | |
parent | b47128b6775f846fad33f599802d70563580f902 (diff) |
allow archivegen to archive multiple directories
this includes changing the syntax, it is now like in 7za
archivegen arch.7z dir1 dir2 ...
We will need this for further packaging. Adding incrementally
does not work as the fascade creates a temporary files and writes
it back. Hence we cannot add one directory after another
Change-Id: I1923a3beabacf7b8f3618807c5377061555d98b2
Reviewed-on: http://codereview.qt.nokia.com/3889
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder/common/binaryformat.cpp')
-rw-r--r-- | installerbuilder/common/binaryformat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installerbuilder/common/binaryformat.cpp b/installerbuilder/common/binaryformat.cpp index 01d028ca5..02b540115 100644 --- a/installerbuilder/common/binaryformat.cpp +++ b/installerbuilder/common/binaryformat.cpp @@ -464,7 +464,7 @@ bool Archive::createZippedFile() file.close(); m_inputFile.open(QIODevice::ReadWrite); try { - Lib7z::createArchive(&m_inputFile, m_path); + Lib7z::createArchive(&m_inputFile, QStringList() << m_path); } catch(Lib7z::SevenZipException &e) { m_inputFile.close(); setErrorString(e.message()); |