首页| 论坛| 消息

标题:qml初级问题
作者:boycxd
日期:2011-06-30 16:06
内容:

import QtQuick 1.0
Rectangle {
width: animation.width; height: animation.height + 8
AnimatedImage { id: animation; source: "animation.gif" }
Rectangle {
property int frames: animation.frameCount
width: 4; height: 8
x: (animation.width - width) * animation.currentFrame / frames
y: animation.height
color: "red"
}
}
上面的代码用qmlviewer.exe工具打开即关闭是为什么,类似qml怎么调试错误呢。


#1 [XChinux 06-30 16:24]
楼主想问什么问题?

回复 发表
主题 版块