do not auto-add install dir to index dirs

the install dir may contain indexes from previous builds. a build must
never refer to previous builds.

Change-Id: I67c04df8f3f82bdbebb67e280f70795ed0a76ccf
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2014-05-21 14:15:24 +02:00 committed by The Qt Project
parent a763500a61
commit 939d021813

View File

@ -224,8 +224,7 @@ static void loadIndexFiles(Config& config)
}
}
else {
qDebug() << "Dependant modules specified, but no index directories or "
<< "install directory were set."
qDebug() << "Dependent modules specified, but no index directories were set."
<< "There will probably be errors for missing links.";
}
}
@ -618,7 +617,6 @@ int main(int argc, char **argv)
}
else if (opt == "-installdir") {
Config::installDir = argv[i];
indexDirs += argv[i];
i++;
}
else if (opt == "-obsoletelinks") {