[Qgis-developer] QGIS 0.9 on windows:QgsApplication.setPrefixPath() has an invalid type

Jesse Ayers jrayers at u.washington.edu
Sun Aug 5 22:57:33 EDT 2007

Success!  I went to a fresh XP machine, installed Python 2.5.1, PyQt4.2,
Tisham's latest 0.9.0 windows build and the basic main window tutorial
loaded.  There is obviously some PyQt version problem with that other
machine I was using earlier, but now I know what is needed.

Thanks all, now we can start testing here!


-----Original Message-----
From: Martin Dobias [mailto:wonder.sk at gmail.com] 
Sent: Sunday, August 05, 2007 5:36 PM
To: Jesse Ayers
Cc: Aaron Racicot; qgis-developer at lists.qgis.org
Subject: Re: [Qgis-developer] QGIS 0.9 on
windows:QgsApplication.setPrefixPath() has an invalid type

On 8/6/07, Jesse Ayers <jrayers at u.washington.edu> wrote:
> Unfortunately both Tisham's newly posted build, and the one linked to
> result in the same thing under PyQt4.3 and Qt4.3.  I tried uninstalling
> PyQt4.3 and Qt4.3, then installing older versions (PyQt4.2 and Qt4.2.3)
> the same results under both of Tisham's recent builds and the one linked
> below.  I tried an older version of PyQt (4.1.1) also with the same
> I am open to suggestions on what to try next.

I'm affraid that something's wrong with your Qt / PyQt. Regarding to
the Qt docs, QStringRef class has been introduced in Qt 4.3, thus it's
hard to believe that older versions of Qt and PyQt could have the same
behaviour. Please check whether the older versions (Qt4.2.x) are not
mixed with newer (qt4.3) somehow.

However, it should be possible to use string() or toString() member
functions of QStringRef classes that will return a QString.


More information about the Qgis-developer mailing list