2019-11-28 17:59:00 +03:00
|
|
|
#ifndef QIF_H
|
|
|
|
#define QIF_H
|
|
|
|
|
2019-11-28 18:13:56 +03:00
|
|
|
#include "idistribution.h"
|
|
|
|
|
|
|
|
|
2019-11-28 17:59:00 +03:00
|
|
|
/**
|
|
|
|
* @brief The QIF class provides interface betvin deployment targets and Qt Installer Framework
|
|
|
|
*/
|
2020-01-05 13:58:38 +03:00
|
|
|
class DEPLOYSHARED_EXPORT QIF: public iDistribution
|
2019-11-28 17:59:00 +03:00
|
|
|
{
|
|
|
|
public:
|
2020-01-15 18:31:09 +03:00
|
|
|
QIF(FileManager *fileManager);
|
2020-01-16 11:10:16 +03:00
|
|
|
Envirement toolKitEnv() const;
|
2020-01-05 13:58:38 +03:00
|
|
|
QString getConfig() const;
|
2020-01-16 11:10:16 +03:00
|
|
|
QString runCmd();
|
2020-01-16 15:25:36 +03:00
|
|
|
bool deployTemplate();
|
2020-01-05 13:58:38 +03:00
|
|
|
QStringList runArg() const;
|
2020-01-15 11:50:30 +03:00
|
|
|
bool removeTemplate() const;
|
2020-01-16 11:10:16 +03:00
|
|
|
QProcessEnvironment processEnvirement() const;
|
|
|
|
private:
|
|
|
|
QString binarycreator;
|
2020-01-16 15:25:36 +03:00
|
|
|
TemplateInfo generalInfo;
|
|
|
|
|
2019-11-28 17:59:00 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QIF_H
|