[QBS] Another slash the loader regression?

Jake Thomas Petroules jake.petroules at petroules.com
Mon Mar 11 15:46:36 CET 2013


My project file:

import qbs.base 1.0
import qbs.probes as Probes

Application {
    ...

    Probes.PathProbe {
        id: sparkle
        names: "Sparkle.framework"

        platformPaths: [
            "~/Library/Frameworks",
            "/usr/local/lib",
            "/Library/Frameworks",
            "/System/Library/Frameworks"
        ]
    }

    Properties {
        condition: qbs.targetOS === "mac" && sparkle.found
        cpp.frameworkPaths: sparkle.path
        cpp.weakFrameworks: [ "Sparkle" ]
        cpp.defines: [ "HAVE_SPARKLE" ]
    }
}


This used to work fine, but I'm now getting "ERROR: ReferenceError: Can't find variable: sparkle". Has there been a behavioral change or is this another "slash the loader's Gordian Knot" regression?

-- 
Jake Petroules
Chief Technology Officer
Petroules Corporation ยท www.petroules.com
Email: jake.petroules at petroules.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20130311/7f34f747/attachment.html>


More information about the Qbs mailing list