[Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?

Anita Graser anitagraser at gmx.at
Sat Apr 26 05:45:40 PDT 2014


Hi,

I'm wondering if there is an advantage in using pyuic to manually compile  
.ui files instead of just using uic.loadUi() in the plugin directly, e.g.

 from PyQt4 import uic
self.dock = uic.loadUi( os.path.join( path, "dockwidget2.ui" ) )

Thanks for any insights!

Best wishes,
Anita



-- 
anitagraser.com


More information about the Qgis-developer mailing list