[Interest] Python not found when building QT 5.4.x
barthelemy at geovariances.com
Thu Jun 4 17:11:45 CEST 2015
It's a MSVC build launched from cygwin. That same script worked for an
earlier 5.x version
2015-06-04 17:05 GMT+02:00 Nuno Santos <nunosantos at imaginando.pt>:
> Are you targeting for MingW or or MSVC?
> I have been build Qt from source very recently and I have used the windows
> I have followed this guide:
> In my case, at some point, I had to install python and put it on the path.
> Nuno Santos
> Founder / CEO / CTO
> +351 91 621 69 62
> On 04 Jun 2015, at 15:56, Olivier Barthelemy <barthelemy at geovariances.com>
> I am launching QT5 build from sources, from a cygwin bash terminal on
> Just before launching the nmake, the python i want to use is properly
> found and working. But during the build, the command
> > .generated\debug\RegExpJitTables.h
> fails with the error that python command was not found.
> 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.
> 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.
> Any suggestion?
> [image: Geovariances]
> Olivier BARTHELEMY *Software development engineer*
> Geovariances, 49bis avenue Franklin Roosevelt - 77215 AVON CEDEX - FRANCE
> | www.geovariances.com <http://link.geovariances.com/eml-home>
> Keep posted about Geovariances
> Interest mailing list
> Interest at qt-project.org
Olivier BARTHELEMY *Software development engineer*
Geovariances, 49bis avenue Franklin Roosevelt - 77215 AVON CEDEX - FRANCE
| www.geovariances.com <http://link.geovariances.com/eml-home>
Keep posted about Geovariances
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest