Are you testing on ubuntu/Debian? I had to install pyqt4's psql driver by hand. I don' t remeber exactly the driver's name. I think it's something like libqt4-psql.<br>I've used pyqt4 for table listing. I don't know what's going to be QGIS' default pg library, but it's easily replaced.<br>
Integration with PostgisManager? It can be done. But I was thinking about moving the plugin to the Layer menu (as I did with RGB Composition Plugin). IMHO plugins that load data should be with the other data loading interfaces. What do you think would be best for the users?<br>
Best regards,<br>Mauricio<br><br><div class="gmail_quote">On Mon, Dec 13, 2010 at 4:43 PM, Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it">cavallini@faunalia.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Il 13/12/2010 19:33, Paolo Cavallini ha scritto:<br>
</div>> Thanks. Now connection fails:<br>
<br>
More info (does it help? it does not seem to be related to pg):<br>
<br>
['__doc__', '__init__', '__module__', 'action', 'copyTableName', 'dlg',<br>
'getConnString', 'getCurrentConnection', 'getTable', 'iface', 'initGui',<br>
'listDatabases', 'listTables', 'run', 'unload']<br>
Warning: QSqlDatabase: QPSQL driver not loaded<br>
Warning: QSqlDatabase: available drivers: QSQLITE QMYSQL3 QMYSQL<br>
['__doc__', '__init__', '__module__', 'action', 'copyTableName', 'dlg',<br>
'getConnString', 'getCurrentConnection', 'getTable', 'iface', 'initGui',<br>
'listDatabases', 'listTables', 'run', 'unload']<br>
Warning: QSqlDatabase: QPSQL driver not loaded<br>
Warning: QSqlDatabase: available drivers: QSQLITE QMYSQL3 QMYSQL<br>
Warning: QSqlDatabasePrivate::addDatabase: duplicate connection name<br>
'qt_sql_default_connection', old connection removed.<br>
<div class="im"><br>
--<br>
Paolo Cavallini: <a href="http://www.faunalia.it/pc" target="_blank">http://www.faunalia.it/pc</a><br>
</div><div><div></div><div class="h5">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mauricio de Paulo<br>Engenheiro Cartografo<br><a href="http://mapeandoobrasil.blogspot.com" target="_blank">MapeandoOBrasil</a><br><br>