← Back to team overview

ubuntu-phone team mailing list archive

Re: Mixing C++ and QML

 

Hello, Pavel.

You can use source of my game as example (remember, this is not free
license, just use it as example). When I'll find time I'll write tutorial.

Sources: http://ubuntuone.com/4yq9pa0hkB8RvKpoFnyp3m

Best regards,
Nick


2013/4/17 Pavel Malyshev <p.malishev@xxxxxxxxx>

> Hello,
>
> We're developing an application which should transmit audio over network
> and we'd like to make it UbuntuPhone-compatible.
> So we have C++ part which do all protocol/network/audio stuff, but we need
> to port Qt-based GUI to Ubuntu Phone.
> It is unclear from Ubuntu documentation how to bind C++ and QML together,
> it just states that C++ is a last resort option.
> Vanilla Qt have QDeclarativeView to load QML interface and connect QML
> signals to C++ slots.
> But there is no such headers on the phone and QtQml is missing too.
>
> So how should I bind Qt-C++ code and QML together on Ubuntu Phone?
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>

References