Results 1 to 20 of 22

Thread: GUI application problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    10
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: GUI application problems

    One of the things that you learn when you study performance analysis is that you can't be sure about where your program is slowing down until you actually measure it. There are a number of things that could be causing problems in this environment - and there are several good suggestions here. However, to be absolutely sure, you should find a performance analysis tool that runs on your system and measure what your program is actually doing. There may be several contributing factors that people could continue to guess about. Be sure. Measure.

  2. #2
    Join Date
    Oct 2010
    Posts
    13
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    8

    Default Re: GUI application problems

    I've understood that the problem is the custom widget with SVG graphics... if I remove the custom widget the GUI application starts immidiatly.
    If I put more graphics in the resource system the GUI application starts after more seconds.
    In this way I've understood that the problem is in the loading of the SVG graphics.
    Are 22 different graphics each one from 10 to 150kB and the total 22 graphics are 1.4 MB.
    I don't know tool to check and monitor the performance if you could advise one I will be very happy...

    Thanks

  3. #3
    Join Date
    Feb 2008
    Posts
    10
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: GUI application problems

    There are different tools depending on your platform. Most recently, I've used VTune (Intel) on Windows. In a previous job, I used (and helped develop) the DevPartner Studio performance tools (was NuMega, then Compuware, now Microfocus) on Windows. At my current job, they use Shark on the Macintosh. There are many other tools out there. A quick Google search of "performance analysis c++" turns up quite a few hits.

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: GUI application problems

    Even if you don't have external tools, justs a fex QTime differences and debug lines give a rough estimate.

    But, expect to have a larger loading time when you load and render svg files at startup. Unless you could load them later when the program is already running, you have to accept the load time. 3 seconds isn't that long anyway.

Similar Threads

  1. Replies: 5
    Last Post: 19th March 2011, 05:09
  2. problems resizing an application
    By franco.amato in forum Newbie
    Replies: 6
    Last Post: 17th November 2010, 21:33
  3. problems to deploy qt application
    By radeberger in forum Installation and Deployment
    Replies: 8
    Last Post: 31st May 2010, 11:52
  4. problems on running an example application
    By hungr in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 21st August 2007, 13:12
  5. problems with deploying a Qt application
    By nongentesimus in forum Installation and Deployment
    Replies: 2
    Last Post: 7th June 2006, 13:45

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
  •  
Qt is a trademark of The Qt Company.