<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Known issue: <a href="https://bugreports.qt-project.org/browse/QBS-246">https://bugreports.qt-project.org/browse/QBS-246</a><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-weight: normal; ">-- </div><div style="font-weight: normal; "><b>Jake Petroules</b></div><div style="font-weight: normal; ">Chief Technology Officer</div><div style="font-weight: normal; ">Petroules Corporation · <a href="http://www.petroules.com">www.petroules.com</a></div><div style="font-weight: normal; ">Email: <a href="mailto:jake.petroules@petroules.com">jake.petroules@petroules.com</a></div></div></span></div></span></div></div></div>
</div>
<br><div><div>On 2014-04-07, at 10:13 AM, Aleksey Sidorov <<a href="mailto:gorthauer87@yandex.ru">gorthauer87@yandex.ru</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Following code snippet successfully found bison binary, but path or filePath variable is undefined<br><br>import qbs<br>import qbs.probes as Probes<br><br>Product {<br>    property string bisonPath: "bison"<br><br>    Probes.PathProbe {<br>        id: bisonProbe<br>        names: ["bison"]<br>        platformPaths: [ "/usr/local/bin", "/usr/bin" ]<br>    }<br>    Properties {<br>        condition: bisonProbe.found<br>        bisonPath: {<br>            print ("Bison found: " + bisonProbe.found + ", path: " + bisonProbe.path);<br>            return bisonProbe.path;<br>        }<br>    }<br>    Group {<br>        name: "Bison: " + bisonPath + "(" + bisonProbe.filePath + ")"<br>    }<br>}<br><br><br>_______________________________________________<br>QBS mailing list<br><a href="mailto:QBS@qt-project.org">QBS@qt-project.org</a><br>http://lists.qt-project.org/mailman/listinfo/qbs<br></blockquote></div><br></body></html>