applewqj |
2016-03-14 15:21 |
关于QML 和 C++ 交互的问题
我参考 http://www.tuicool.com/articles/rERbu2 文章中的说明,在 最后一步 main.qml 文件中添加 colorMaker { id: colorMaker; color: Qt.green; }对象中并且在开头写了 import HelloQml.colorMaker 1.1 报“Cannot assign to non-existent property "colorMaker" colorMaker { ”
这是为什么呢?
|
|