Hi Anita, I’m using Eclipse with QGIS API without problems (with Essen old release) . Import works. Did you set a PATH variable in the Environment tab? (for me value is: C:\Program Files\QGIS Essen;C:\Program Files\QGIS Essen\bin;C:\Program Files\QGIS Essen\apps\qgis-ltr\bin;C:\Program Files\QGIS Essen\apps\python27\DLLs)
Sylvain De : QGIS-Developer [mailto:[email protected]] De la part de Anita Graser Envoyé : dimanche 14 janvier 2018 15:07 À : qgis-dev Objet : [QGIS-Developer] Eclipse config for QGIS API Hi, I've been following https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/ide_debugging.html to set up Eclipse including "Making eclipse understand the [QGIS] API" When I import from qgis.core: from qgis.core import qgsfunction, QgsExpression qgsfunction is recognized but QgsExpression is not: https://www.dropbox.com/s/zmbzllwu2egijbq/Screenshot%202018-01-14%2014.52.52.png?dl=0 My Python interpreter is set up as shown here https://www.dropbox.com/s/ztnr4e6zbjkk35z/Screenshot%202018-01-14%2014.54.08.png?dl=0 Am I missing something to get full PyQGIS code completion? Regards, Anita
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
