[Qgis-developer] compile python bindings with msvc

Marco Hugentobler marco at hugis.net
Thu Nov 12 05:08:54 EST 2009


Hi devs

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.

Do I need to set an environment variable such that python finds the PyQt4 files? 
Or is there a cmake variable that I can set?

Thanks for your help,
Marco

-- 
Dr. Marco Hugentobler
HUGIS - GIS programming and consulting
Honrainweg 5
CH-8038 Zürich
marco at hugis.net
http://homepage.hispeed.ch/hugis/


More information about the Qgis-developer mailing list