Issue
I have a trouble with PySide/PyDev/Eclipse
I typed this code:
import sys
from PySide.QtWebKit import *
from PySide.QtCore import *
from PySide.QtGui import *
app=QApplication(sys.argv)
web=QWebView()
web.load(QUrl('http://google.com'))
web.show()
Eclipse shows red crosses on the side, and says QApplication and QWebView and so on, are undefined varibales.
The problem is that program compiles without errors and gives me right result.
I checked PYTHONPATH and it shows PySide folder over there.
Don't know what to do, obviously I can write programs with this issue, but it's just annoying =)
Solution
Adding PySide to your Forced Builtins should solve that problem.
Answered By - Anonymous Coward
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.