[Qgis-user] plugin icon visualization

McDonaldR McDonaldR at angus.gov.uk
Fri Nov 8 06:18:58 PST 2013


Hmmm, not sure then...

I had a similar problem with my icons not showing up and had to rebuild the plugin using the two commands from the cookbook.  That fixed it for me.

Maybe someone else on the list will have some more information and advice?

Ross

From: Fabrizio murè [mailto:fabriziomure at gmail.com]
Sent: 08 November 2013 14:14
To: McDonaldR
Subject: Re: [Qgis-user] plugin icon visualization

thanks Ross for your reply!
Yes I did steps you're mentioning and below I report my plugin folder configuration.
Now I realized that the same situation (no icon displayed) happens with the OpenLayers Plugin 1.1.1




Icons are correctly displayed in the Plugin Manager as reported below:



It looks strange, migth it be a setting on my PC Windows desktop?
I'm just curious to understand the reason..

Thanks in advance.

Fabrizio

2013/11/8 McDonaldR <McDonaldR at angus.gov.uk<mailto:McDonaldR at angus.gov.uk>>
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> [mailto: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<mailto: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.

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/qgis-user
 
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/60abf0c6/attachment.html>


More information about the Qgis-user mailing list