Making a QAbstractItemModelReplica available to QML and using it from QML.
This is an alternate client application you can use along with the 模型/视图服务器 .
见 模型/视图客户端 example for a more detailed explanation on how the model is acquired and used.
范例工程 @ code.qt.io