[Qgis-developer] compile python bindings with msvc

Jürgen E. Fischer jef at norbit.de
Thu Nov 12 05:36:57 EST 2009


Hi Marco,

On Thu, 12. Nov 2009 at 11:08:54 +0100, Marco Hugentobler wrote:
> I'm trying to build the python bindings on windows with msvc, using Qt and
> the python classes from OSGEO4W.  cmake tells me that 'PyQt4 development
> files are missing'. Obviously, the statement 'from PyQt4 import QtCore,
> QtGui, QtNetwork, QtSvg, QtXml' in Python.cmake fails.

Check ms-windows\osgeo4w\package.cmd.  It calls cmake to create a VC project,
builds and installs it and packages it - so it should have all the information
you need.

Are you using OSGeo4W's python?


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
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