Hi, I'm new to Python and using Pydev the first time. I like to use python to develop with Qt4. Now, from Java Eclipse I'm used to the auto completition (i.e. if I enter xxxx. the IDE will give me every public method and attribute and with Ctrl+Space I get the overview, too). It works fine with the python lib, but it do nothing with the Qt4 lib. I.e. QtCore. Ctrl-Space do nothing.
Can I somehow activate it? I using Fedora and I have PyQt4 and PyQt4-devel installed.
Actually, pydev extensions has that, but only for files for which you have python code... as PyQt4 doesn't have source code, just the dll with the bindings, right now pydev will only give you code-completion for it when you have it imported. ie. if you do
from PyQt4 import QtCore
QtCore.|<-- request completion here
it should give you those tokens.
I have exact the same code but nothing happens.
Shouldn't PyQt4-devel have the sources for PyQt4?
Strange... do you have some error in your error log? (see: http://pydev.sourceforge.net/faq.html#how_do_i_report_a_bug\)
Did you properly configure your python interpreter after installing PyQt4? (when it's configured, it caches many things and doesn't change it later if you change system libraries, so, you have to reconfigure the interpreter).