[Qgis-developer] Qstring has no attribute toStdString

Jürgen E. Fischer jef at norbit.de
Wed Apr 11 04:39:13 EDT 2012


Hi Denis,

On Wed, 11. Apr 2012 at 09:49:41 +0200, Denis Rouzaud wrote:
>    I have an error when I try to use toStdString method on a QString:
>    AttributeError: 'QString' object has no attribute 'toStdString'
>    Someone has a clue on this???

Apparently PyQt doesn't have that method[1].  What do you need that for in
Python?


Jürgen


[1] http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qstring.html

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-31
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de
committ(ed|ing) to Quantum GIS                         IRC: jef on FreeNode                         

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list