mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-06 06:29:35 +00:00
added more logs
This commit is contained in:
parent
65ba81e466
commit
cbfc9c8d4e
src/Deploy/src
@ -753,6 +753,10 @@ bool ConfigParser::parseDeployMode(bool checkBin) {
|
||||
return false;
|
||||
}
|
||||
|
||||
QuasarAppUtils::Params::log(
|
||||
_config.qtDir.toString(),
|
||||
QuasarAppUtils::Debug);
|
||||
|
||||
if (!initQmlInput()) {
|
||||
return false;
|
||||
}
|
||||
@ -1134,7 +1138,7 @@ QString ConfigParser::getPathFrmoQmakeLine(const QString &in) const {
|
||||
bool ConfigParser::initQmakePrivate(const QString &qmake) {
|
||||
QFileInfo info(qmake);
|
||||
|
||||
QuasarAppUtils::Params::log("initialize qmake for ." + info.absoluteFilePath(),
|
||||
QuasarAppUtils::Params::log("initialize qmake for. " + info.absoluteFilePath(),
|
||||
QuasarAppUtils::Debug);
|
||||
|
||||
QString basePath = info.absolutePath();
|
||||
@ -1313,7 +1317,7 @@ bool ConfigParser::setQtDir(const QString &value) {
|
||||
|
||||
QFileInfo info(value);
|
||||
|
||||
QuasarAppUtils::Params::log("initialize qt dirs for ." + info.absoluteFilePath(),
|
||||
QuasarAppUtils::Params::log("initialize qt dirs for. " + info.absoluteFilePath(),
|
||||
QuasarAppUtils::Debug);
|
||||
|
||||
if (!QFile::exists(info.absoluteFilePath() + ("/bin"))) {
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "deploycore.h"
|
||||
#include "envirement.h"
|
||||
#include "pathutils.h"
|
||||
#include "quasarapp.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
|
@ -12,6 +12,29 @@ QtMajorVersion QtDir::getQtVersion() const {
|
||||
return _qtVersion;
|
||||
}
|
||||
|
||||
QString QtDir::toString() const {
|
||||
return QString {
|
||||
"Qt Inforamtion: \n"
|
||||
"Platform: %0\n"
|
||||
"Major version: %1\n"
|
||||
"Binaries dir: %2\n"
|
||||
"Libraries dir: %3\n"
|
||||
"Libexecs dir: %4\n"
|
||||
"Plugins dir: %5\n"
|
||||
"QMLs dir: %6\n"
|
||||
"Translations dir: %7\n"
|
||||
"Resources dir: %8\n"
|
||||
}.arg(DeployCore::platformToString(_platform),
|
||||
QString::number(DeployCore::qtVersionToString(_qtVersion)),
|
||||
bins,
|
||||
libs,
|
||||
libexecs,
|
||||
plugins,
|
||||
qmls,
|
||||
translations,
|
||||
resources);
|
||||
}
|
||||
|
||||
QString QtDir::getLibs() const {
|
||||
return libs;
|
||||
}
|
||||
|
@ -9,10 +9,11 @@
|
||||
#define QTDIR_H
|
||||
|
||||
#include <QDir>
|
||||
#include <humanreadableobject.h>
|
||||
#include "deploy_global.h"
|
||||
#include "deploycore.h"
|
||||
|
||||
class DEPLOYSHARED_EXPORT QtDir {
|
||||
class DEPLOYSHARED_EXPORT QtDir: QuasarAppUtils::HumanReadableObject {
|
||||
QString libs;
|
||||
QString bins;
|
||||
QString libexecs;
|
||||
@ -53,6 +54,8 @@ public:
|
||||
* @return the masjor version of qt
|
||||
*/
|
||||
QtMajorVersion getQtVersion() const;
|
||||
|
||||
QString toString() const override;
|
||||
};
|
||||
|
||||
#endif // QTDIR_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user