Re: [Qgis-developer] QGIS custom widgets with python plugins

2014-11-25 Thread Denis Rouzaud
Hi Stefan, To properly compile the UI file using pyuic4, you need to have the uic widget plugin installed. This is the file qgis_customwidgets.py that should be located in /usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/ This file can be either installed by the package

Re: [Qgis-developer] QGIS custom widgets with python plugins

2014-11-25 Thread Arnaud Morvan
If you install QGIS to custom path, you should set some environment variables before calling pyuic4 exemple: export QGIS_PREFIX_PATH=~/apps/qgis-master export LD_LIBRARY_PATH=$QGIS_PREFIX_PATH/lib export PYTHONPATH=$QGIS_PREFIX_PATH/share/qgis/python/:$PYTHONPATH Personnally, I've added one

Re: [Qgis-developer] QGIS custom widgets with python plugins

2014-11-19 Thread Pedro VenĂ¢ncio
I'm getting this erros with several plugins (processing, qgis2leaf, ...) after update with today's master on Linux: Couldn't load plugin 'processing' from ['/usr/share/qgis/python', '/home/pedro/.qgis2/python', '/home/pedro/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',

[Qgis-developer] QGIS custom widgets with python plugins

2014-11-14 Thread Ziegler Stefan
Hi I sucessfully used QGIS custom widgets (eg. qgscollapsiblegroupbox) in qt designer in and then with python plugins with uic.loadUiType(). Using the traditional pyuic approach I get an missing module error when starting QGIS: ImportError: No module named qgscollapsiblegroupbox I'm on