Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
class Cust { }; Cust *c1 = new Cust(); Cust *c2 = new Cust(); Cust *c3 = new Cust(); engine.rootContext()->setContextProperty("cust", c1);
那么我在一个 Cust.qml 怎样把 cust 切换到指向 c2, c3 ?