[Qgis-developer] testing core python plugins from build tree

Sandro Santilli strk at keybit.net
Mon Oct 8 08:14:18 PDT 2012


On Mon, Oct 08, 2012 at 05:11:21PM +0200, Sandro Santilli wrote:
> On Mon, Oct 08, 2012 at 06:08:04PM +0300, Alexander Bruy wrote:
> > 2012/10/8 Sandro Santilli <strk at keybit.net>:
> > > When the plugin was out of code I simply symlinked its source dir
> > > under ~/.qgis/python/plugins/db_manager, hacked, reloaded with
> > > plugin reloaded and could immediately see the changes.
> > 
> > But it is still possible to symlink core plugin dir to ~/.qgis/python/plugins/
> > create temporary makefile to compile ui and start hacking.
> 
> "create temporary makefile" doesn't seem that straightforward, but
> sounds like the shortest path. Hopefully I can just symlink the Makefile
> in the build tree... 

Well, it wasn't enough:
 
  ImportError: No module named ui_DlgDbError

at this point I'm not even sure db_manager is supposed to work
even after install. Giuseppe, does it ?

--strk;


More information about the Qgis-developer mailing list