Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using QGIS 1.8 for building plugin. For developing i am using following ref this link example. where in this step 6 where compile the makefile in OSGeo4W. gives error pyuic4:command not found. I am also showing print screen of error:enter image description here. Please help me to over come this error Or running same in python console of qgis 1.8

share|improve this question

1 Answer 1

pyuic4 is part of PyQt4, which is part of OSGeo4W. In case its installer gives you a choice of what components to install, make sure you also picked pyqt4, which is short for "pythong bindings for qt4". Did QGIS not complain about python when you were using it (eg. the plugin manager)?

So, if you do have PyQt4 already, you may just need to set the search path, so pyuic4 can be found. Or in the unlikely case that the bundled version is missing this generator, install a full version from http://www.riverbankcomputing.co.uk/software/pyqt/download.

share|improve this answer
    
pyqt4 gets installed when you install qgis. This seems to be a bug with the make file on windows not liking pyuic4.bat. I have run into it before. –  Nathan W Jun 8 '13 at 23:33
    
yes pyqt4 has been already installed with Qgis 1.8. –  Pari Jun 10 '13 at 4:38
    
I have also checked the path for pyuic4.bat file which i found correct. –  Pari Jun 10 '13 at 6:31
1  
The errors suggest some quoting problems, so I'd try installing to a path without any spaces in its name. You could also look at the makefile that gives the error, maybe it's simple to fix (your log is too short to tell where it went wrong though). –  lynxlynxlynx Jun 10 '13 at 21:30
    
I tired all ways to rum make file. But didn't get any solution finally i have run command in make file one by one in OSGEO4W command prompt. –  Pari Jun 11 '13 at 5:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.