Dear Sandro,

I am working on extending db_manager plugin to query POSTGIS 2.0 data. But I
am facing problem in initGui(self) function of db_manager python plugin.

Application is giving error at this line of code.

self.action = QAction( QIcon(":/db_manager/icon"),
QApplication.translate("DBManagerPlugin","DB Manager"),
self.iface.mainWindow() )

I think error is in QIcon(":/db_manager/icon") because I think this is not
complete path of the icon file. But I found that this plugin is working in
QGIS setup application. I don't understand how it is working even though
path is not correct.

Can you help me in resolving this issue.

Thanks,
Azghar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-Plugin-PostGIS-tp5215973p5216424.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to