On Tuesday, May 24, 2011 15:44:33 PM Hugo Parente Lima wrote:
> On Tuesday 24 May 2011 06:46:01 Jos van den Oever wrote:
> > On Tuesday, May 24, 2011 11:01:01 AM Gerald Storer wrote:
> > > On 24/05/2011 2:40 PM, Jos van den Oever wrote:
> > > > Hi all,
> > > > 
> > > > I'm trying to use QAbstractFileEngine in PySide, but i'm getting a
> > > > crash. I've attached the example C++ program and the equivalent
> > > > PySide code. The output of both programs should be the same.
> > > > 
> > > > The version of PySide that I use is 1.0.0 on x86_64 (Fedora).
> > > > 
> > > > Best regards,
> > > > Jos
> > > > 
> > > > 
> > > > _______________________________________________
> > > > PySide mailing list
> > > > [email protected]
> > > > http://lists.pyside.org/listinfo/pyside
> > > 
> > > Your example crashes for me on version 1.0.0 but does not on 1.0.2.
> > > Perhaps you should just use the latest version?
> > 
> > The current PySide master has this line:
> >   <rejection class="QAbstractFileEngine" function-name="beginEntryList"/>
> > 
> > in QtCore/typesystem_core.xml.
> > 
> > If this means that QAbstractFileEngine::beginEntryList is not being
> > mapped, then QAbstractFileEngine is a lot less useful, since then it is
> > not possible to list contents of directories in filesystems created with
> > QAbstractFileEngine.
> > In the PySide version I build from master, the file
> > PySide/QtCore/PySide/QtCore/qabstractfileengine_wrapper.h does not have
> > beginEntryList which confirms  this suspicion.
> > 
> > Is there a particular reason that this function is listed with
> > <rejection/>
> 
> It's a bug, I filed it here:
> 
> http://bugs.pyside.org/show_bug.cgi?id=863

Thank you! I hope it can be fixed at some time so I can start using PySide in a 
UI for browsing through files in a backup store of bup.

Cheers,
Jos
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to