mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-06 14:39:35 +00:00
36 lines
1.0 KiB
C++
36 lines
1.0 KiB
C++
/*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef WINDEPENDENCIESSCANNER_H
|
|
#define WINDEPENDENCIESSCANNER_H
|
|
|
|
#include <QMultiMap>
|
|
#include <QStringList>
|
|
#include "../qtTools/src/windeployqt/utils.h"
|
|
#include "deploy_global.h"
|
|
|
|
class DEPLOYSHARED_EXPORT WinDependenciesScanner {
|
|
private:
|
|
QStringList _env;
|
|
QMap<QString, QString> _EnvLibs;
|
|
Platform platformFromMkSpec(const QString &xSpec);
|
|
QMap<QString, QString> qMakeAll(QString *errorMessage,
|
|
const QString &binary = "qmake");
|
|
public:
|
|
explicit WinDependenciesScanner();
|
|
|
|
void setEnvironment(const QStringList &env);
|
|
|
|
QStringList scan(const QString& path,
|
|
Platform platfr = UnknownPlatform,
|
|
const QString &qmake = "qmake");
|
|
|
|
~WinDependenciesScanner();
|
|
};
|
|
|
|
#endif // WINDEPENDENCIESSCANNER_H
|