Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Need help to make a smooth animation
Forum Update on Monday, May 27th 2025

Need help to make a smooth animation

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    plerner
    wrote on last edited by
    #1

    Hello, I am working in my first QML application and need some help with an animation. The app starts with two centered icons and, when you click on them, they are supposed to move to the top left corner of the window. I cannot manage to set the appropiate animation to make the movement go smooth. Instead I get very weird movements from the icons, they always seem to loose their square form when animating and I have tried every combination of different animations that I can think of (number animations, anchor animations, etc.). Maybe the structure of the app is wrong. I am sure you will understand what I mean if you see it. Please, if you can download the code from the link and help me, it's a small QML project. I want the size and position of the icons to move smoothly from its original position to the final one, at the top left corner, without loosing the square form of the icons during the animation.

    "Code: https://bitbucket.org/plerner/peoplesobjects/downloads#download-188884":https://bitbucket.org/plerner/peoplesobjects/downloads#download-188884

    I will appreciate if you can send me to the right direction,

    Pablo

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved