我已经导入了一个qml文件(例如A),另一个Qml文件中则说了B.每当我对A进行某些更改时,它都不会反映在应用程序中.我必须再次清理并重建才能查看所做的更改,这非常耗时.是否有一种更简便有效的方法来做到这一点,所以可以节省时间.
I have imported a qml file say A in other qml say B. Whenever I make some changes in A , it doesn't reflect in the Application. I have to again clean and rebuild to view the changes i made, which is very time-consuming. Is there an easier and efficient way of doing this, so time could be saved .
或者这是另一种说法: 在debug_and_release模式下,不会将qrc文件添加到Makefile依赖项中
Or another way of saying this is : qrc files are not added to Makefile dependencies in debug_and_release mode
示例
A.qml
Rectangle { id:xyz Button { id: ButtonA } }B.qml
Rectangle{ A { id:abc } }我正在使用qt 4,qtquick 1.0.
I am using qt 4, qtquick 1.0.
推荐答案您可以安装新的qt创建器,它将解决此问题.为我工作.我安装了QT Creator 4.8.7.
You can install the new qt creator, it will solve the problem. Worked for me. I installed QT creator 4.8.7.
更多推荐
一次又一次地重建以查看导入的QML文件更改
发布评论