On Wed, Dec 22, 2010 at 10:02 AM, Francisco Gonzalez <gzmorell at gmail.com> wrote: > QStringListModel *myModel = new QStringListModel(); You want to assign to the member variable, not to a local variable, right? So it should be: myModel = new QStringListModel(); -- J-P Nurmi