Re: QML/C++ interaction problem

2016-02-05 Thread Tomaz Canabrava
On Fri, Feb 5, 2016 at 4:57 PM, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > I attach an image with some very short code sections. I closely follow the > Qt app note "Exposing Attributes of C++ Types to QML" at URL >

QML/C++ interaction problem

2016-02-05 Thread Willem Ferguson
I attach an image with some very short code sections. I closely follow the Qt app note "Exposing Attributes of C++ Types to QML" at URL http://doc.qt.io/qt-5/qtqml-cppintegration-exposecppattributes.html The error message in the black section is standard. No indication that the QML sees any

Re: Fwd: Re: QML/C++ interaction problem

2016-02-05 Thread Tomaz Canabrava
> Date: 05 Feb 2016 9:46 PM > Subject: Re: QML/C++ interaction problem > To: "Tomaz Canabrava" <tcanabr...@kde.org> > Cc: > > Thanks Tomas. > You mean using qmlRegisterType? > In subsurface-mobile-helper? > Any other source file? > > Kind regards,

Fwd: Re: QML/C++ interaction problem

2016-02-05 Thread Willem Ferguson
-- Forwarded message -- From: "Willem Ferguson" <willemfergu...@zoology.up.ac.za> Date: 05 Feb 2016 9:46 PM Subject: Re: QML/C++ interaction problem To: "Tomaz Canabrava" <tcanabr...@kde.org> Cc: Thanks Tomas. You mean using qmlRegisterType? In sub