QLabel *label = new QLabel;
QPropertyAnimation *animation = new QPropertyAnimation(label , "pos");
animation->setDuration(3000);
animation->setStartValue(QPoint(0,0));
animation->setEndValue(QPoint(100,200));
animation->setEasingCurve(QEasingCurve::Linear);
animation->start();
以上可实现,具体去看QPropertyAnimation 的api说明吧