Em qui 29 maio 2014, às 12:35:11, Alex Montgomery escreveu: > // C++ code > QQmlComponent simpleFactory; > simpleFactory.loadUrl(QUrl("qrc:///Qml/Simple.qml")); > QQuickItem* item1 = qobject_cast<QQuickItem*>(m_simpleFactory.create()); > QQuickItem* item2 = qobject_cast<QQuickItem*>(m_simpleFactory.create()); > > // how do I bind item2's myBool to the value of item1's myBool? > > This is very simply done within QML, but I don't see how to do that glue in > C++.
It doesn't exist. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest