On Sat, Apr 17, 2010 at 5:40 AM, <[email protected]> wrote: > You set it to "". > e.g. Loader { > > sourceComponent: myCondition ? myComponent : "" > } > > I cannot do that, sourceComponent expects a QDeclarativeComponent*, not a QString.
fleury guararapes tmp $ qml teste2.qml Wall startup time: 9 file:///home/fleury/tmp/teste2.qml:22: Unable to assign QString to QDeclarativeComponent* -- Eduardo M. Fleury OpenBossa - INdT http://eduardofleury.com/ http://www.openbossa.org/
_______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
