<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi, <span style="font-family: Verdana, sans-serif, Arial, 'Trebuchet MS'; font-size: 13px; line-height: 1.6em;">I'am writing a python standalone application, which should later run on windows (not my choice...). All the development is done on Ubuntu 12.04.</span></div>

<div> </div>

<div>I managed to run the application with a standard QGIS 2.2 Windows installer package. The problem is, that it starts but crashes unexpectedly without any python error messages. And the error doent appear on every start. Windows just says that python crashed...not very helpful. I think the problem is related to different software versions, especially Qt, PyQt, SIP, GDAL and maybe something else.</div>

<div> </div>

<div>This are the Linux versions running:</div>

<div>QGIS-Version                    2.2.0-Valmiera<br/>
QGIS-Codeversion                exported<br/>
Kompiliert gegen Qt             4.8.1<br/>
Laufendes Qt                    4.8.1<br/>
Kompiliert mit GDAL/OGR         1.10.0<br/>
Läuft mit GDAL/OGR              1.11dev<br/>
Kompiliert mit GEOS             3.3.8-CAPI-1.7.8<br/>
Läuft mit GEOS                  3.4.2-CAPI-1.8.2 r3921<br/>
PostgreSQL-Client-Version       9.1.11<br/>
SpatiaLite-Version              4.1.1<br/>
QWT-Version                     5.2.2<br/>
PROJ.4-Version                  480<br/>
QScintilla2-Version<br/>
SIP                             4.13.2<br/>
PyQt                            4.9.1</div>

<div> </div>

<div>On Windows I got the following versions:</div>

<div>QGIS-Version                    2.2.0-Valmiera<br/>
QGIS-Codeversion                c3a2817<br/>
Kompiliert gegen Qt             4.7.1<br/>
Laufendes Qt                    4.7.1<br/>
Kompiliert mit GDAL/OGR         1.10.1<br/>
Läuft mit GDAL/OGR              1.10.1<br/>
Kompiliert mit GEOS             3.4.2-CAPI-1.8.2<br/>
Läuft mit GEOS                  3.4.2-CAPI-1.8.2 r3921<br/>
PostgreSQL-Client-Version       8.3.10<br/>
SpatiaLite-Version              4.1.1<br/>
QWT-Version                     5.2.1<br/>
PROJ.4-Version                  480<br/>
QScintilla2-Version             2.6.2<br/>
SIP                             4.12.1<br/>
PyQt                            4.8.3</div>

<div> </div>

<div>Cause I dont like to bother with compiling the complete Windows stack from souce, I tryed to do this on Linux. I tried to create a virtualenv with all the packages I need. The python packages are no problem, but the c packages are (GDAL, QGIS, etc.) are. Has someone tips, a more or less detailed description, a working virtualenv, or a zc.buildout script to ease this work? Maybe a windows installation with more up to date packages will be helpful.</div>

<div> </div>

<div>Matthias</div></div></body></html>