[Interest] Calling C++ from QML (without objects)

Dmitry Volosnykh dmitry.volosnykh at gmail.com
Thu Nov 5 19:25:08 CET 2015


I think, you have only option to wrap it with QObject that you expose to
QML.

On Thu, Nov 5, 2015 at 9:17 PM, Jason H <jhihn at gmx.com> wrote:

> I want to provide a wrapper around QMessageAuthenticationCode::hash()
>
> But I think I need an object for it. Can I just expose it as a function
> some how?
>
> I am more interested in having it callable, than an object in my QML
> element hierarchy.
>
> Thanks!
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151105/9fcb3ed0/attachment.html>


More information about the Interest mailing list