calibre-debug -c "from calibre.gui2 import build_forms; build_forms("/path/to/toplevel/dir/containg/your/.ui/file)"
And note that because of the way build_forms() works (it is designed for the calibre source code) your .ui file must be in the calibre/gui2 subdirectory
Last edited by kovidgoyal; 10-06-2014 at 03:16 AM.
|