2019-01-26 07:54:56 +03:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018-2019 QuasarApp.
|
|
|
|
* Distributed under the lgplv3 software license, see the accompanying
|
|
|
|
* Everyone is permitted to copy and distribute verbatim copies
|
|
|
|
* of this license document, but changing it is not allowed.
|
|
|
|
*/
|
|
|
|
|
2018-12-09 17:35:07 +03:00
|
|
|
#ifndef DEPLOYUTILS_H
|
|
|
|
#define DEPLOYUTILS_H
|
|
|
|
|
|
|
|
#include <QStringList>
|
2018-12-15 20:51:25 +03:00
|
|
|
#include <QDebug>
|
2018-12-09 17:35:07 +03:00
|
|
|
|
2018-12-15 20:51:25 +03:00
|
|
|
class Deploy;
|
2018-12-09 17:35:07 +03:00
|
|
|
|
|
|
|
class DeployUtils
|
|
|
|
{
|
|
|
|
public:
|
2018-12-15 20:51:25 +03:00
|
|
|
DeployUtils() = delete;
|
2018-12-09 17:35:07 +03:00
|
|
|
|
|
|
|
static QString qtDir;
|
|
|
|
static QStringList extraPaths;
|
|
|
|
|
|
|
|
static bool isQtLib(const QString &lib);
|
|
|
|
static bool isExtraLib(const QString &lib);
|
|
|
|
static int getLibPriority(const QString &lib);
|
2018-12-15 20:51:25 +03:00
|
|
|
static void verboseLog(const QString &str);
|
|
|
|
static void help();
|
|
|
|
static bool parseQt(Deploy *deploy);
|
2018-12-09 17:35:07 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEPLOYUTILS_H
|