[Qgis-user] plugin icon visualization

McDonaldR McDonaldR at angus.gov.uk
Fri Nov 8 03:53:17 PST 2013


Hi Fabrizio

Do you have "icon.png" in your plugin folder?

Did you run the two make commands to build the python files?

pyuic4 -o ui_vector_selectbypoint.py ui_vector_selectbypoint.ui
pyrcc4 -o resources.py  resources.qrc

This is the updated PyQGIS cookbook recipe for building a plugin: http://www.qgis.org/en/docs/pyqgis_developer_cookbook/plugins.html

Ross

From: qgis-user-bounces at lists.osgeo.org [mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Fabrizio murè
Sent: 08 November 2013 11:41
To: qgis-user at lists.osgeo.org
Subject: [Qgis-user] plugin icon visualization

Hi all, I'm relatively new with QGIS environment and I wish to learn how to develop a Python Plugin.. i'm reading useful info in the tutorial  "Building a simple plugin" @http://www.qgisworkshop.org/html/workshop/plugins_tutorial.html


Probably mine is a very trivial question...
I'm able to activate my plugin in QGIS 2.0.1, but i have some problem with icon visualization on plugins toolbar and in the plugins menu.
My plugin is present in the list but the button area appears empty, without icon "icon.png"
How can i activate the icion visualization?

I specified icon filename in the metadata.txt file..

Thanks in advance, for any help you can give me!

Regards,
Fabrizio
 
This message is strictly confidential. If you have received this in error, please inform the sender and remove it from your system. If received in error you may not copy, print, forward or use it or any attachment in any way. This message is not capable of creating a legal contract or a binding representation and does not represent the views of Angus Council. Emails may be monitored for security and network management reasons.  Messages containing inappropriate content may be intercepted. Angus Council does not accept any liability for any harm that may be caused to the recipient system or data on it by this message or any attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131108/345d057e/attachment.html>


More information about the Qgis-user mailing list