compiling QGIS Plugin using make
Posted
by
user1675014
on Stack Overflow
See other posts from Stack Overflow
or by user1675014
Published on 2012-09-16T00:04:23Z
Indexed on
2012/09/16
3:38 UTC
Read the original article
Hit count: 189
On a fresh mac os x 10.8 install, i've Quantum GIS Installed from Kingchaos binaries and running fine. I'm trying to develop a plugin for QGIS, and using Plugin Builder. The skel that Plugin Builder, produces, should work off-the-shelf, but it does not compile using the makefile. Somewhere python can't find (pyuic.py), and it searches for (/Users/kyngchaos/...), path. This user does not exist on my system:(
Here are my ENVS on .profile:
export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH
export PYTHONPATH=/Applications/QGIS.app/Contents/Resources/python
export DYLD_LIBRARY_PATH="/Applications/QGIS.app/Contents/MacOS/lib:/Applications/Qgis.app/Contents/Frameworks"
export PATH="/Applications/QGIS.app/Contents/MacOS/bin:$PATH"
Here is the ouptput of make:
Arthur@teste:make
pyuic4 -o ui_teste.py ui_teste.ui
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/kyngchaos/Applications/qgis-python27/Applications/QGIS.app/Contents/MacOS/../Resources/python/PyQt4/uic/pyuic.py': [Errno 2] No such file or directory
make: *** [ui_teste.py] Error 2
thanks for reading.
© Stack Overflow or respective owner