ref #740 added more logs and remove deprecated code

This commit is contained in:
Andrei Yankovich 2022-12-19 21:14:46 +03:00
parent 24847be7dd
commit 60de41e5ea

View File

@ -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));
}