QtObject question
Pavel Vasev
pavel.vasev at gmail.com
Wed Apr 1 05:53:18 UTC 2015
Hi Anton!
When I try to instantiate some QtObject-based component, i get
```
No constructor found for QtObject
```
С уважением,
Павел Васёв
2015-04-01 1:10 GMT+05:00 Anton Kreuzkamp <kde-development at akreuzkamp.de>:
> Hi,
>
> well... QtObject.
>
> What's your problem with it? It should work just like in "normal" QML.
> (Beware
> that in QML (and QmlWeb too) it's QtObject, not QObject!)
>
> Cheers,
> Anton
>
> On Tuesday 31 March 2015 14:51:09 Pavel Vasev wrote:
> > Hi Anton!
> >
> > Sometimes we create component that do not need Item as a base class.
> >
> > For example, we want to implement ExclusiveGroup.
> >
> > In terms of Qt, it is QtObject-based, e.g.
> > http://doc.qt.io/qt-5/qml-qtqml-qtobject.html
> >
> > Could you please suggest some equivalent in QmlWeb?
> >
> > Best Regards,
> > Pavel
>
> --
> Kind regards to the NSA.
> _______________________________________________
> QmlWeb mailing list
> QmlWeb at kde.org
> https://mail.kde.org/mailman/listinfo/qmlweb
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/qmlweb/attachments/20150401/92d4a2a1/attachment.html>
More information about the QmlWeb
mailing list