EndrII 96fde6c958
All checks were successful
buildbot/AndroidBuilder_v8Qt6 Build finished.
buildbot/LinuxCMakeBuilderQt6 Build finished.
buildbot/AndroidBuilder_v7 Build finished.
buildbot/DocsGenerator Build finished.
buildbot/LinuxCMakeBuilder Build finished.
buildbot/Wasm32Builder Build finished.
buildbot/AndroidBuilder_v8 Build finished.
buildbot/WindowsCMakeBuilder Build finished.
buildbot/LinuxBuilder Build finished.
buildbot/WindowsBuilder Build finished.
buildbot/IOSCMakeBuilder Build finished.
v 1.5.4.14
2022-03-09 17:56:42 +03:00

61 lines
1.7 KiB
C++

/*
* Copyright (C) 2018-2022 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 QTDIR_H
#define QTDIR_H
#include <QDir>
#include "deploy_global.h"
#include "deploycore.h"
class DEPLOYSHARED_EXPORT QtDir {
QString libs;
QString bins;
QString libexecs;
QString plugins;
QString qmls;
QString translations;
QString resources;
Platform qtPlatform = UnknownPlatform;
QtMajorVersion _qtVersion;
public:
QString getLibs() const;
void setLibs(const QString &value);
QString getBins() const;
void setBins(const QString &value);
QString getLibexecs() const;
void setLibexecs(const QString &value);
QString getPlugins() const;
void setPlugins(const QString &value);
QString getQmls() const;
void setQmls(const QString &value);
QString getTranslations() const;
void setTranslations(const QString &value);
QString getResources() const;
void setResources(const QString &value);
Platform getQtPlatform() const;
void setQtPlatform(const Platform &value);
/**
* @brief isQt - This method check a path for belonging to QtDirs.
* @param path This is cheecked path of library or any qt file.
* @return true if object is qt.
*/
bool isQt(QString path) const;
/**
* @brief getQtVersion This method return information of version of qt
* @return the masjor version of qt
*/
QtMajorVersion getQtVersion() const;
void setQtVersion(const QtMajorVersion &qtVersion);
};
#endif // QTDIR_H