remove bizarre prl substitution code

it appears to have been some weird attempt at back-mapping file names to
-l arguments, which has been made ineffective with the partial #if 0.
i can't even describe what it did at this point.

Change-Id: Ie31cbbe7fab8b21b039bfff5877397af07731f1b
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Oswald Buddenhagen 2015-06-02 19:58:41 +02:00
parent d1cebb09b6
commit ffe7f408ea

View File

@ -550,15 +550,7 @@ UnixMakefileGenerator::processPrlFiles()
}
}
} else if(!opt.isNull()) {
QString lib = opt;
processPrlFile(lib);
#if 0
if(ret)
opt = linkLib(lib, "");
#endif
if(!opt.isEmpty())
for (int k = 0; k < l.size(); ++k)
l[k] = l.at(k).toQString().replace(lib, opt);
processPrlFile(opt);
}
ProStringList &prl_libs = project->values("QMAKE_CURRENT_PRL_LIBS");