[Qgis-developer] Eric4, QScintilla and QGIS

Duarte Carreira DCarreira at edia.pt
Thu Jul 29 06:46:48 EDT 2010


Noli,

I think we cannot use a different Qt/PyQT version than what QGIS was built with (Qt 4.5.2, Python 2.5.2). This is why I ended up trying to build Qscintilla, because I can't find anywhere a compatible binary distribution.

Duarte

-----Mensagem original-----
De: Noli Sicad [mailto:nsicad at gmail.com]
Enviada: quinta-feira, 29 de Julho de 2010 11:32
Para: G. Allegri
Cc: Duarte Carreira; qgis-developer at lists.osgeo.org
Assunto: Re: [Qgis-developer] Eric4, QScintilla and QGIS

You can get PyQt4.4.3 for python2.5 from http://pyqwt.sourceforge.net/

PyQwt3D-0.1.6-Python2.5-Qt4.4.1-PyQt4.4.3-NumPy1.2.0.exe

Then try to find Qt4.4.3, this might be a better approach.

Noli.

On 7/29/10, G. Allegri <giohappy at gmail.com> wrote:
> +1. I already asked this months ago... It would be very good, also to
> have an improved Python Scripting environment in QGis.
>
> giovanni
>
> 2010/7/29 Duarte Carreira <DCarreira at edia.pt>:
>> Hi.
>>
>>
>>
>> I'm trying to work with Eric4 and QGIS. Eric4 integrates very well with
>> PyQT
>> but requires QScintilla2 and its python bindings. We can get this by
>> installing PyQt [1] or by building QScintilla from scratch [2].
>>
>>
>>
>> Problem is, I can't find PyQt binaries anymore at the same version used by
>> QGIS (QT 4.5.2).
>>
>> And no matter how hard I try I always fail to build QScintilla python
>> bindings (tried Visual Studio 2008 and mingw32; several versions of
>> Qscintilla)... problems arise at the final stage of nmaking the python
>> bindings, with several C2440 errors (Conversion loses qualifiers) [3].
>>
>>
>>
>> So as a last resort I'm asking the list if anyone can help...
>>
>> ...do you have a PyQt distribution that includes QScintilla and is on par
>> with
>> QGIS? Can you build QScintilla 2.2 or 2.3 using the same QGIS/OSGeo4W
>> environment (v2.4 requires sip 4.10 and QGIS is using sip 4.8)?
>>
>>
>>
>> The ideal situation would be to include Qscintilla in the  QGIS building
>> process... but this may be to much to ask?
>>
>>
>>
>> Thanks,
>>
>> Duarte
>>
>>
>>
>>
>>
>> [1]
>> http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.5-gpl-4.7.4-1.exe
>>
>> [2] http://www.riverbankcomputing.co.uk/static/Docs/QScintilla2/index.html
>>
>> [3] error C2440: 'initializing' : cannot convert f rom 'const char *' to
>> 'char *'
>>
>>
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>


More information about the Qgis-developer mailing list