do: pyrcc4 -o resources_rc.py resources.qrc pyrcc4 --help => -o means output files to be generated Luigi Pirelli
************************************************************************************************** * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com * LinkedIn: https://www.linkedin.com/in/luigipirelli * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli * GitHub: https://github.com/luipir * Mastering QGIS: https://www.packtpub.com/application-development/mastering-qgis ************************************************************************************************** On 6 May 2016 at 12:11, matteo <[email protected]> wrote: > Hi Ginetto, > > >> please read carefully error mesages >> >>> pyrcc4 -o resources.py >>>> resources.qrc <<<< >>> ImportError: No module named >>>> resources_rc <<<<< > > > I did but I don't get it.. > > The resource.py and the resource.qrc files are by default present in the > plugin folder. > > If I add an icon with Qt Designer (I put the icon in a icons folder in the > plugin tree) and I choose the existing resource.qrc file as resource file.. > after the compilation command > > pyrcc4 -o resource.py resource.qrc > > the loading fails with the cited error of above.. > > have I to edit in some way the resources.py? > > Thanks again > > Matteo _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
