开发者

Qt installation error

开发者 https://www.devze.com 2022-12-20 06:46 出处:网络
i got an error when am trying to configure Qt. Erro : execute: File or path is not found (nmake) execute: File or path is not found (nmake)

i got an error when am trying to configure Qt.

Erro :
    execute: File or path is not found (nmake)
    execute: File or path is not found (nmake)
    Cleaning qmake failed, return code -1


开发者_C百科

// installion files.
    InterBase...............no

Sources are in..............E:\xampp\Qt\4.6
Build is done in............E:\xampp\Qt\4.6
Install prefix..............E:\xampp\Qt\4.6
Headers installed to........E:\xampp\Qt\4.6\include
Libraries installed to......E:\xampp\Qt\4.6\lib
Plugins installed to........E:\xampp\Qt\4.6\plugins
Binaries installed to.......E:\xampp\Qt\4.6\bin
Docs installed to...........E:\xampp\Qt\4.6\doc
Data installed to...........E:\xampp\Qt\4.6
Translations installed to...E:\xampp\Qt\4.6\translations
Examples installed to.......E:\xampp\Qt\4.6\examples
Demos installed to..........E:\xampp\Qt\4.6\demos

Creating qmake...
execute: File or path is not found (nmake)
execute: File or path is not found (nmake)
Cleaning qmake failed, return code -1


E:\xampp\Qt\4.6>


If you are trying to build Qt with a Visual Studio enviroment, you have to make sure that nmake and cl are in the PATH.

The easiest way to do that is to simply use the Visual Studio Command Prompt (found e.g. in the start menu).


You need to change your path so that it leads to wherever nmake is.


Try adding the flag "-make nmake" to your configure command.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号