4
1
mirror of https://github.com/QuasarApp/CQtDeployer.git synced 2025-05-04 21:49:35 +00:00

allow sym links of qmake

This commit is contained in:
Andrei Yankovich 2022-10-30 21:40:53 +03:00
parent 20c7c6888f
commit 6c10dfd375

@ -1207,13 +1207,13 @@ bool ConfigParser::initQmake() {
if (!info.isFile() || (info.baseName() != "qmake")) {
QString qmakeFromRPath = DeployCore::findProcess(getRPathFromTargets(), "qmake", true);
QString qmakeFromRPath = DeployCore::findProcess(getRPathFromTargets(), "qmake");
if (qmakeFromRPath.isEmpty()) {
if (!QuasarAppUtils::Params::isEndable("noCheckPATH")) {
auto env = QProcessEnvironment::systemEnvironment();
auto proc = DeployCore::findProcess(env.value("PATH"), "qmake", true);
auto proc = DeployCore::findProcess(env.value("PATH"), "qmake");
if (proc.isEmpty()) {
QuasarAppUtils::Params::log("The deployment target requires Qt libraries,"
" but initialize of Qt directories is failed."