I'm using Eclipse's PyDev extension to develop python plugins for Qgis. I did the required configs for the interpreter in Eclipse to be able to use python. When I start a PyDev project, all the Python code and imports are correct but it is still giving me errors about the Qt & Qgis objects!
I did all the necessary imports :
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from qgis.gui import *
And I still get errors "UNDEFINED VRIALBE" for objects like QgsApplication, QFileInfo..
How can I fix this ?