Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. X11 vs XP graphics performance on QT 5.2.1

X11 vs XP graphics performance on QT 5.2.1

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 492 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
    tom.abcd
    wrote on last edited by
    #1

    I have a simple app that has three QLabels layered with 1 on the bottom, 2 on top of 1 and 3 on top of 2 and 1.
    In the first Qlabel I load a JPG image. In the second I load a PNG image that has an alpha channel.
    In the third Qlabel I am showing an incrementing number. I used a timerEvent the runs every 30 msec that increments a number converts it to a string and put the string in to the label

    void ImageTextTest::timerEvent(QTimerEvent *event)
    {
    counter++;
    ui->imageLabel_3->setText(QString::number(counter));
    }

    I have built my app in Windows and on Linux and then run it on my test unit.
    On the test unit I can boot either XP or Linux (lubuntu).

    If I run my app on XP and look in taskmanager it appears to take almost no cpu load.
    If I run my app on Linux and use Top it seems to take about 21 to 23 % on one core for the app plus another 7 to 8% for Xorg.

    I have tried using -graphicssystem (openvg, opengl, raster) on the Linux box but did not see any performance difference.

    So my questions.

    1. Is lower QT graphic performance typical on Linux vs XP?
    2. How do I tell which graphicssystem the QT app is using?
    3. Is there some test I can run to see which graphics systems are supported on a PC?

    Thanks
    Tom

    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