Allow qmake to find features when using mkspecs in nested dirs
authorSean Harmer <sean.harmer.qnx@kdab.com>
Tue, 6 Mar 2012 18:05:27 +0000 (18:05 +0000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 12 Mar 2012 10:09:24 +0000 (11:09 +0100)
commit2dd6f1467fca051e977eeda0369b9b89e25065b1
tree795dcdd3ef8ca9a49264e98e37b9918e2d876fc9
parentaed6eaa5b211a4676c15627657f3a7bda6e3866d
Allow qmake to find features when using mkspecs in nested dirs

Commit 8e5eb1bddcfc introduced the assumtion that mkspecs are
immediately below the mkspecs directory itself. This is not true for
e.g. unsupported/blackberry-armv7le-qcc.

This commit restores qmake's ability to find the "root" of the mkspecs
collection no matter how deeply the actual mkspecs are nested.

Task-number: QTBUG-24665
Change-Id: I98faaf8e6ae7b8524277aea6c17e685e507e37b3
Reviewed-by: Sean Harmer <sh@theharmers.co.uk>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
qmake/project.cpp