Em Quinta-feira 15. Outubro 2009, às 21.15.16, você escreveu:
> On Thursday 15 October 2009 19:40:23 Olivier Goffart wrote:
> > > Hmm - I'm absolutely sure its defined nowhere else in my (rather huge)
> > > application.
> >
> > Maybe it has to do something with the file that are included?
> >
> > > But my usecase is a little different:
> > >
> > > qs:
> > > var child = Form.findChild ("child1");
> > > var children = child.findObjects ("MyClass");
> >
> > I know no findObjects function in Qt. maybe you meant findChildren?
> > Still the attached code does work work for me, both with 4.5 and 4.6.
>
> Ooops - forgot to mention where findObjects comes from.
>
> > Some compilable code sample would be really usefull.
>
> This reproduces the bug:
>
> #include <QtGui>
> #include <QtScript>
[snip]
Ah, the issue is QtScript then.
However, comparing the code (as much as I can understand it) indicates not
much has changed. It must be some subtle change because of the switch to
JavaScriptCore.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Development Frameworks
Sandakerveien 116, NO-0402 Oslo, Norway
Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14 San Francisco, California: Nov 2 - 4
http://qt.nokia.com/qtdevdays2009
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
