Ref T258, use "which 7za" on UNIX systems

This commit is contained in:
Klaus Basan
2018-02-22 19:52:35 +01:00
parent d8c442c468
commit f3b48f75a1
2 changed files with 33 additions and 8 deletions

View File

@@ -32,7 +32,11 @@ namespace BlackMisc
//! External program existing?
//! \remark relies on external 7zip command line
static bool hasZip7();
static bool hasZip7(QStringList *stdOutAndError = nullptr);
//! Uses which to determine if 7Zip exists
//! \remark for UNIX systems, using which
static bool whichZip7(QStringList *stdOutAndError = nullptr);
private:
//! Ctor