mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-27 02:04:33 +00:00
ref #740 added more logs and remove deprecated code
This commit is contained in:
parent
24847be7dd
commit
60de41e5ea
@ -1266,11 +1266,13 @@ bool ConfigParser::initQmake() {
|
||||
|
||||
bool ConfigParser::setQmake(const QString &value) {
|
||||
|
||||
auto qmakeInfo = QFileInfo(QDir::fromNativeSeparators(value));
|
||||
auto qmakeInfo = QFileInfo(value);
|
||||
|
||||
QuasarAppUtils::Params::log("sets qmake for. " + qmakeInfo.absoluteFilePath(),
|
||||
QuasarAppUtils::Debug);
|
||||
|
||||
if (!(qmakeInfo.fileName().compare("qmake", Qt::CaseInsensitive) ||
|
||||
qmakeInfo.fileName().compare("qmake.exe", Qt::CaseInsensitive))) {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -1531,7 +1533,7 @@ QList<iDistribution *> ConfigParser::getDistribution() {
|
||||
distros.push_back(new ZipArhive(_fileManager));
|
||||
}
|
||||
|
||||
if (QuasarAppUtils::Params::isEndable("qif")) {
|
||||
if (QuasarAppUtils::Params::isEndable("qifw") || QuasarAppUtils::Params::isEndable("qif")) {
|
||||
distros.push_back(new QIF(_fileManager));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user