[Interest] binding two QML object within C++

Ian Monroe ian at monroe.nu
Fri May 30 01:11:38 CEST 2014


On Thu, May 29, 2014 at 12:35 PM, Alex Montgomery
<apmontgomery at gmail.com> wrote:
> Hello,
>
> I'm trying to do something that seems very simple, but I can't find a
> solution anywhere. If I have two QML items that I've created from components
> in C++, how do I bind a property on one to follow a property on the other
> one?

Seems like it would be pretty easy to create a generic 'bind'
function. QMetaProperty has everything you need.

Ian



More information about the Interest mailing list