<div dir="ltr">Hi Anton!<div><br></div><div>When I try to instantiate some QtObject-based component, i get</div><div>```</div><div>No constructor found for QtObject<br></div><div>```</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">С уважением,<br>Павел Васёв</div></div>
<br><div class="gmail_quote">2015-04-01 1:10 GMT+05:00 Anton Kreuzkamp <span dir="ltr"><<a href="mailto:kde-development@akreuzkamp.de" target="_blank">kde-development@akreuzkamp.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
well... QtObject.<br>
<br>
What's your problem with it? It should work just like in "normal" QML. (Beware<br>
that in QML (and QmlWeb too) it's QtObject, not QObject!)<br>
<br>
Cheers,<br>
Anton<br>
<div class="HOEnZb"><div class="h5"><br>
On Tuesday 31 March 2015 14:51:09 Pavel Vasev wrote:<br>
> Hi Anton!<br>
><br>
> Sometimes we create component that do not need Item as a base class.<br>
><br>
> For example, we want to implement ExclusiveGroup.<br>
><br>
> In terms of Qt, it is QtObject-based, e.g.<br>
> <a href="http://doc.qt.io/qt-5/qml-qtqml-qtobject.html" target="_blank">http://doc.qt.io/qt-5/qml-qtqml-qtobject.html</a><br>
><br>
> Could you please suggest some equivalent in QmlWeb?<br>
><br>
> Best Regards,<br>
> Pavel<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Kind regards to the NSA.</font></span><br>_______________________________________________<br>
QmlWeb mailing list<br>
<a href="mailto:QmlWeb@kde.org">QmlWeb@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/qmlweb" target="_blank">https://mail.kde.org/mailman/listinfo/qmlweb</a><br>
<br></blockquote></div><br></div>