一次又一次地重建以查看导入的QML文件更改

编程入门 行业动态 更新时间:2024-10-27 09:35:25
本文介绍了一次又一次地重建以查看导入的QML文件更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经导入了一个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文件更改

本文发布于:2023-11-27 23:56:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1640126.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   QML

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!