[QGIS-Developer] Eclipse config for QGIS API

PIERRE Sylvain sylvain.pierre at bas-rhin.fr
Mon Jan 15 00:00:21 PST 2018


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:qgis-developer-bounces at lists.osgeo.org] 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180115/250f3dc7/attachment.html>


More information about the QGIS-Developer mailing list