move postProcessProject() call to sane location
there is totally no reason to call it unless the project is actually used for makefile generation, and the excessive calls actually mess up things. Change-Id: Idb7912a5404f6054010d2f29cce820a167de4f6f Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
This commit is contained in:
parent
b319d44798
commit
6c612c9338
@ -447,6 +447,8 @@ QT_END_INCLUDE_NAMESPACE
|
||||
MakefileGenerator *
|
||||
MetaMakefileGenerator::createMakefileGenerator(QMakeProject *proj, bool noIO)
|
||||
{
|
||||
Option::postProcessProject(proj);
|
||||
|
||||
MakefileGenerator *mkfile = NULL;
|
||||
if(Option::qmake_mode == Option::QMAKE_GENERATE_PROJECT) {
|
||||
mkfile = new ProjectGenerator;
|
||||
@ -492,6 +494,8 @@ MetaMakefileGenerator::createMakefileGenerator(QMakeProject *proj, bool noIO)
|
||||
MetaMakefileGenerator *
|
||||
MetaMakefileGenerator::createMetaGenerator(QMakeProject *proj, const QString &name, bool op, bool *success)
|
||||
{
|
||||
Option::postProcessProject(proj);
|
||||
|
||||
MetaMakefileGenerator *ret = 0;
|
||||
if ((Option::qmake_mode == Option::QMAKE_GENERATE_MAKEFILE ||
|
||||
Option::qmake_mode == Option::QMAKE_GENERATE_PRL)) {
|
||||
|
@ -1386,7 +1386,6 @@ QMakeProject::read(uchar cmd)
|
||||
break;
|
||||
}
|
||||
}
|
||||
Option::postProcessProject(this); // let Option post-process
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user