properly check conditions in Depends items
properly check conditions in Depends items

Now its possible to access properties of other modules in Depends items.

Example:

    Depends { id: qtcore; name: "Qt.core" }
    Depends {
        condition: qtcore.versionMajor === 4
        name: "Qt.gui"
    }
    Depends {
        condition: qtcore.versionMajor === 5
        name: "Qt"
        submodules: ["gui", "widgets"]
     }

Change-Id: I6372b245f0b8b75cd04073f5d428916b334dc29f
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@nokia.com>

villytiger/qbs,Distrotech/qbs,qt-labs/qbs,qt-labs/qbs,Distrotech/qbs,qtproject/qt-labs-qbs,gatzka/qt-labs-qbs,qt-labs/qbs,gatzka/qt-labs-qbs,villytiger/qbs,qtproject/qt-labs-qbs,gatzka/qt-labs-qbs,villytiger/qbs,qtproject/qt-labs-qbs,gatzka/qt-labs-qbs,villytiger/qbs,qtproject/qt-labs-qbs,Distrotech/qbs,Distrotech/qbs,villytiger/qbs,qt-labs/qbs,Distrotech/qbs,gatzka/qt-labs-qbs,qt-labs/qbs,villytiger/qbs,Distrotech/qbs,qt-labs/qbs,gatzka/qt-labs-qbs,gatzka/qt-labs-qbs,Distrotech/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs