Results 1 to 5 of 5

Thread: Qt GUI Performance Help!

  1. #1
    Join Date
    Jan 2010
    Posts
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Qt GUI Performance Help!

    Hi There,

    Im using the mini2440 and im having a VERY SERIOUS proplem!!

    I have compiled Qt-Embedded 4.6.1 for the mini 2440.

    Now my issue is that the Performance of the GUI is really bad, it takes up
    to 5 seconds to open one window from another window, and atleast 1 second
    till it reacts on pressing a QButton, also it takes up to 15 secs to start
    a Qt application.

    The application uses up 1t 100% CPU and like 70% of the memory


    Whats the ebst way to accelerate this?


    im using the fb to display and this are my config options:
    ./configure -v \
    -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/qt \
    -nomake examples -nomake demos -opensource \
    -no-accessibility -no-sql-sqlite -no-phonon -no-phonon-backend -no-qt3support \
    -no-scripttools -no-mmx -no-3dnow -no-sse -no-sse2 -no-cups -no-dbus -no-glib \
    -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -qt-gfx-linuxfb -qt-mouse-tslib -qt-gfx-qvfb \
    -shared –debug


    if i run without -debug the programms failw ith Segmentation fault based on the compiler optimations



    Im currenty having the QT/E libs on the sdcard and they are like 80MB,
    which leads me to my 2end not so importaint qestion atm.

    Is there alreaddy a Version of Qt-e on the device? and if so how can i use
    it?

    Whats the best way to shrink down the Qt-e libs to the minimal/requred size
    to fit into the 128 MB of flash memory?

    I would really appreciate any HELP!


    THANKS ALOT!!

  2. #2
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Qt GUI Performance Help!

    I also have the similar kind of issue on an arm processor. The problem seems to be more prominent with some specific widgets like tab widget. Were you able to resolve it? Please help.

  3. #3
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt GUI Performance Help!

    one way to speed up the application is to make two applications, one server and other client. As we know that at least one Qt application in emd. linux needs to be the QWS server. If you have only single application that also acts as a server which sometimes does not help if your own app is doing too much computation.

    so just make a dummy server and lauch your application as normal client. But this does not guaranty the optimal speed but it will do some speed up.

    as for your second question, yes you can shrink the size of the qt libraries but commenting out the unnecessary classes that you do not need. use the qconfig tool

  4. #4
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Qt GUI Performance Help!

    Splitting up the application in two parts is not going to help much, I believe. Even a simple gui application without any computations, is responding very slow on clicks and the painting is slow as well. This becomes more prominent if number of widgets are more.

  5. #5
    Join Date
    Jan 2013
    Posts
    6
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Unhappy Re: Qt GUI Performance Help!

    Have anybody here solved the problem? I have the same issue too and don't know how to improve it.

Similar Threads

  1. again QGraphicsView performance
    By medved6 in forum Qt Programming
    Replies: 11
    Last Post: 21st December 2009, 22:11
  2. QGraphicsView performance
    By Halabund in forum Newbie
    Replies: 3
    Last Post: 17th April 2009, 11:12
  3. Qt performance
    By yagabey in forum Qt Programming
    Replies: 3
    Last Post: 22nd October 2008, 23:05
  4. QtConcurrent Performance
    By tomf in forum Qt Programming
    Replies: 3
    Last Post: 15th July 2008, 16:41
  5. UDP Performance bad
    By tigertap in forum Qt Programming
    Replies: 5
    Last Post: 17th March 2008, 17:53

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.