Qt Quick Ultralite Timeline aims to be compatible with Qt Quick Timeline. See Differences between Qt Quick Ultralite Timeline and Qt Quick Timeline 了解细节。
To use the Qt Quick Ultralite Timeline QML types, link your application to the
Qul::QuickUltraliteTimeline
CMake target:
target_link_libraries(app Qul::QuickUltralite Qul::QuickUltraliteTimeline Qul::QuickUltralitePlatform)
And add the following import statement to your
.qml
文件:
import QtQuick.Timeline 1.0
A keyframe |
|
A keyframe group |
|
A timeline |
|
A number animation attached to a timeline. |