[Qt-creator] 答复: 答复: Build Qt Creator failed?

Tobias Hunger tobias.hunger at gmail.com
Thu Oct 9 13:28:29 CEST 2014


Hello,

using a Clean environment is a rather drastic way to reset the PATH
environment variable, but yeah, that should indeed work, too:-)

Best Regards,
Tobias

On Thu, Oct 9, 2014 at 10:52 AM, Gang Deng <abel78deng at gmail.com> wrote:
> Hi ,
>
>          There’re some sh.exe in my system PATH. It seems that is solved by
> check Project->clear system environment variable check box.
>
> Now it is building.
>
>
>
>          Huger, Kai, thank you very much!
>
>
>
>
>
> Best Regards
>
> Gang Deng
>
> 发件人: Tobias Hunger [mailto:tobias.hunger at gmail.com]
> 发送时间: 2014年10月9日 15:10
> 收件人: Gang Deng
> 抄送: qt-creator; Koehne Kai
> 主题: Re: [Qt-creator] 答复: Build Qt Creator failed?
>
>
>
> Hi,
>
> On Oct 9, 2014 3:21 AM, "Gang Deng" <abel78deng at gmail.com> wrote:
>>          I open the qtcreator.pro file in QtCreator.exe which is installed
>> by running qt-opensource-windows-x86-mingw482_opengl-5.3.2.exe on my Win 7
>> system, and click  the build button to build. So I do not know which
>> environment (cmd.exe vs sh) it used. And it build ok with same way on a
>> Ubuntu system.
>
> Please open the .pro file and check its build settings in project mode.
> There is a section there that can be used to show the environment the build
> will happen in.
>
> Check the PATH variable there and make sure there is no sh.exe in any of
> these directory.
>
> Please run qmake after changing the path variable and try building again.
>
> I hope this helps,
>
> Best Regards,
> Tobias



More information about the Qt-creator mailing list