fix specdir()
get the actual spec path directly from the project - the specs in Option are not necessarily resolved. Change-Id: Ia2bf2199c5269aa5b5a9d4c38de36171f25d448b Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
caa2263051
commit
4b637bf1f0
@ -3073,8 +3073,7 @@ QString
|
||||
MakefileGenerator::specdir()
|
||||
{
|
||||
if (spec.isEmpty())
|
||||
spec = fileFixify(project->isHostBuild()
|
||||
? Option::mkfile::qmakespec : Option::mkfile::xqmakespec);
|
||||
spec = fileFixify(project->specDir());
|
||||
return spec;
|
||||
}
|
||||
|
||||
|
@ -136,6 +136,7 @@ public:
|
||||
QString projectFile();
|
||||
QString confFile() const { return conffile; }
|
||||
QString cacheFile() const { return cachefile; }
|
||||
QString specDir() const { return real_spec; }
|
||||
inline QMakeProperty *properties() { return prop; }
|
||||
|
||||
bool doProjectTest(QString str, QHash<QString, QStringList> &place);
|
||||
|
Loading…
Reference in New Issue
Block a user