<div dir="ltr">I am launching QT5 build from sources, from a cygwin bash terminal on windows.<div>Just before launching the nmake, the python i want to use is properly found and working. But during the build, the command <div>python C:/sdk/src/qt-everywhere-opensource-src-5.4.2/qtdeclarative/src/3rdparty/masm/create_regex_tables > .generated\debug\RegExpJitTables.h</div><div>fails with the error  that python command was not found.</div><div><br></div><div>I am guessing that at some point, the build process starts a new windows shell that doesn't inherit the environment i set in cygwin, and python would be found if i set PATH to my python in the system's base values for the environment variables so all shells inherit it. </div><div><br></div><div>But as the build is in an automated script, whose environment must be set by scripts depending on what i want to build, hardcoding in the system the path to this python is not an idea i like very much.</div><div><br></div><div>Any suggestion?<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><table style="font-family:'Times New Roman'"><tbody><tr><td><div style="width:500px;font-size:10px;font-family:Verdana;color:rgb(136,136,136)"><div><img src="http://link.geovariances.com/eml-logo" alt="Geovariances" width="180" height="35"></div><br><div><span style="color:rgb(85,85,85);font-weight:bold">Olivier BARTHELEMY</span> <em>Software development engineer</em><br>Geovariances, 49bis avenue Franklin Roosevelt - 77215 AVON CEDEX - FRANCE<br><span style="color:rgb(255,102,0)">|</span> <a href="http://link.geovariances.com/eml-home" target="_blank">www.geovariances.com</a></div></div></td></tr><tr><td><div style="float:right;margin-right:10px;font-size:10px;font-family:Verdana;color:rgb(136,136,136)">Keep posted about Geovariances   <a href="http://link.geovariances.com/eml-geowidget" title="Download GeoWidget" target="_blank"><img src="http://link.geovariances.com/eml-geowidget-img" width="16" height="16" align="absmiddle" border="0"></a>   <a href="http://link.geovariances.com/eml-linkedin-gv" title="Follow us on LinkedIn" target="_blank"><img src="http://link.geovariances.com/eml-linkedin-img" width="16" height="16" align="absmiddle" border="0"></a>   <a href="http://link.geovariances.com/eml-linkedin" title="Join our Isatis forum on LinkedIn" target="_blank"><img src="http://link.geovariances.com/eml-isatis-linkedin-img" width="16" height="16" align="absmiddle" border="0"></a>   <a href="http://link.geovariances.com/eml-twitter" title="Follow us on Twitter" target="_blank"><img src="http://link.geovariances.com/eml-twitter-img" width="16" height="16" align="absmiddle" border="0"></a>   <a href="http://link.geovariances.com/eml-youtube" title="Watch our demos videos on YouTube" target="_blank"><img src="http://link.geovariances.com/eml-youtube-img" width="16" height="16" align="absmiddle" border="0"></a>   <a href="http://link.geovariances.com/eml-slideshare" title="Watch our presentations on SlideShare" target="_blank"><img src="http://link.geovariances.com/eml-slideshare-img" width="16" height="16" align="absmiddle" border="0"></a></div></td></tr></tbody></table></div></div></div>
</div></div></div>