FW: [PyQt] Using a QCompleter with a QLineEdit

Greg Smith gsmith at troublemakerstudios.com
Wed Jun 24 23:52:13 BST 2009

Sorry 4.4.3 for Python 2.5

-----Original Message-----
From: Phil Thompson [mailto:phil at riverbankcomputing.com] 
Sent: Wednesday, June 24, 2009 5:45 PM
To: Greg Smith
Cc: pyqt at riverbankcomputing.com
Subject: Re: FW: [PyQt] Using a QCompleter with a QLineEdit

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
> 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.


More information about the PyQt mailing list