摘要: 1. 通过文件路径读取 1.1设置import path main.cpp qputenv("QML2_IMPORT_PATH", "../qml1"); //或者 //engine.addImportPath("../qml1/"); 1.2 添加file:调用 Image { id: names 阅读全文
posted @ 2020-08-10 18:43 GongKiro 阅读(612) 评论(0) 推荐(0) 编辑