2010-02-17 17 views
6

Qt'yi yapılandırmaya çalışırken bir hatayla karşılaştım. Bir Visual Studio çevre ile Qt inşa etmeye çalışıyorsanızQt yükleme hatası

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




// 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> 

cevap

8

, sen nmake ve clPATH olduğundan emin olmak gerekir.

Bunu yapmanın en kolay yolu, Visual Studio Komut İstemi'ni kullanmaktır (örn. Başlangıç ​​menüsünde bulunur).

+0

no, Visual Studio ile çalışmak istemiyorum. Sadece Qt'yi yalnız istiyorum. – coderex

+0

Qt ile ne yapmak istiyorsun? İkilileri almak için bir şekilde inşa etmelisin. –

+0

Yalnız Qt istiyorsanız, sanırım Windows için açık kaynaklı SDK sürümlerinde bulunan mingw32'yi istiyorsunuz. (Başka bir derleyici, Microsoft'un değil, hala bir derleyici ...) – e8johan

0

Yolunuzu, nmake olduğu yere götürecek şekilde değiştirmeniz gerekir. Configure komutuna "-make nmake" bayrağını eklemeyi deneyin.

0

+0

Belki bu sadece Qt'nin eski sürümlerinde çalışır; Qt 5.7.0'da: "Bilinmeyen bölüm nmake -make'ye geçti." –