From bbd2cab7c4097a0776c28a5e1d4cc2f8b66b53c1 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Thu, 18 Apr 2013 17:54:09 +0200 Subject: fix error handling in 7z lib - remove an already existing symlink at extraction, because it uses QFile to get the io device and that would be the symlink target which was wrong. - try to get better 7z error output - an error would be now: "There was a problem while performing the operation: Error while extracting 'C:\Qt\qtcreator-2.7.0_test.7z': Cannot open file: D:/test/qtcreator-2.7.0_test/bin/sqldrivers/qsqlite4.dll (Access is denied.)" - move setPermissions to the end so read only files are getting the right timestamp Change-Id: I8881144660296618d443568e6974bf2721328991 Reviewed-by: Niels Weber Reviewed-by: Karsten Heimrich --- src/libs/installer/lib7z_facade.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs/installer/lib7z_facade.h') diff --git a/src/libs/installer/lib7z_facade.h b/src/libs/installer/lib7z_facade.h index e61cce6ac..515d63bba 100644 --- a/src/libs/installer/lib7z_facade.h +++ b/src/libs/installer/lib7z_facade.h @@ -11,6 +11,7 @@ #include #include #include +#include #include "Common/MyWindows.h" @@ -23,7 +24,6 @@ template class QVector; QT_END_NAMESPACE namespace Lib7z { - class INSTALLER_EXPORT SevenZipException : public std::runtime_error { public: explicit SevenZipException( const QString& msg ) : std::runtime_error( msg.toStdString() ), m_message( msg ) {} -- cgit v1.2.3