Hi On Thu, Mar 3, 2011 at 10:40 AM, Martin Dobias <[email protected]> wrote:
> The only difference when running unit-tests (i.e. standalone apps) is > that you cannot access QGIS interface (qgis.utils.iface) since there > is no QGIS running. But that should not pose a big problem. In case > you really need access to that interface you can create your own > implementation of QgisInterface class and assign it to > qgis.utils.iface. > > Regards > Martin Martin do you (or anyone else) have example code for creating an iface instance from a standalone python / QGIS app? Thanks Tim -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) ============================================== Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net ============================================== _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
