FW: [PyQt] Using a QCompleter with a QLineEdit

Phil Thompson phil at riverbankcomputing.com
Wed Jun 24 23:44:51 BST 2009


On Wed, 24 Jun 2009 13:44:30 -0500, "Greg Smith"
<gsmith at troublemakerstudios.com> wrote:
> Here is a very simple test.
> Just run it in a command shell, and be sure the .ui file lives in the
same
> directory as the .py file.

You don't say what version you are using.

As Pete said it's probably because you aren't keeping a reference to the
QCompleter.  The current version of PyQt will do this for you.

Phil


More information about the PyQt mailing list