Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QPropertyAnimation and Windows Phone 8.1
Qt 6.11 is out! See what's new in the release blog

QPropertyAnimation and Windows Phone 8.1

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 592 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    trstalker
    wrote on last edited by
    #1

    Hello! I creating animation via QPropertyAnimation, which moves horizontally central widget of MainWindow. It's works perfectly on my PC, but when i installed my application on Lumia 925(WP 8.1), i have some lags and freezes, when animationts start. I try create separate animation for each element of MainWindow, but it didn't help. Why do I get these lags?

    @#include <QPropertyAnimation>
    ...
    int w_scr = screen->size().width();
    int h_scr = screen->size().height();
    ui->centralWidget->setFixedSize(w_scr,h_scr);
    ui->centralWidget->move(w_scr,0);
    ...
    QPropertyAnimation* animation = new QPropertyAnimation(ui->centralwidget,"pos");
    animation->setDuration(1000);
    animation->setEndValue(QPoint(0,0));
    animation->start();@

    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