Results 1 to 3 of 3

Thread: GraphicsView performance

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Location
    Pune, India
    Posts
    60
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Post GraphicsView performance

    Hi
    I am new to QT and I have developed an applcation in QT 4.2 using GraphicsView.
    I am showing 15K > rectangles(using drawEllipse) and almost 30K line between them. But zoom in/out is very slow, loading time is also too slow.
    1. How to improve performance.?
    2. How to use QTherad to plot/add ellipse items simulantenously in GraphicsScene. ???
    3. I am doing on Windows using Microsoft Visula Studio 2003 So how to do profiling ???
    Please help me

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GraphicsView performance

    1. How to improve performance.?
    Tough question.
    See: http://www.qtcentre.org/forum/f-qt-p...lems-5684.html
    and
    http://www.qtcentre.org/forum/f-qt-p...qt4--9032.html

    2. How to use QTherad to plot/add ellipse items simulantenously in GraphicsScene. ???
    You can't do it simultaneously due to the currently employed programming paradigm.
    So, even if you have two threads posting items to the scene, the scene will be able to add only one at the time.

    3. I am doing on Windows using Microsoft Visula Studio 2003 So how to do profiling ???
    You have to choose from commercial applications: DevPartner, Intel ThreadChecker( I think it has a profiling option) and the one Trolltech uses for Qt:Rational Purify.

  3. The following user says thank you to marcel for this useful post:

    nileshsince1980 (19th September 2007)

  4. #3
    Join Date
    Sep 2007
    Location
    Pune, India
    Posts
    60
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GraphicsView performance

    Thanks Marcel .
    Thnaks for information

Similar Threads

  1. Performance problems with overlapping qgraphicsitems
    By brjames in forum Qt Programming
    Replies: 13
    Last Post: 4th May 2008, 21:42
  2. GraphicsView performance problems
    By Gopala Krishna in forum Qt Programming
    Replies: 79
    Last Post: 8th August 2007, 17:32
  3. QT GraphicsView Help
    By mistertoony in forum Qt Programming
    Replies: 15
    Last Post: 15th February 2007, 04:17
  4. Replies: 1
    Last Post: 4th October 2006, 16:05
  5. [QT 4] QTextEdit performance
    By fellobo in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2006, 19:27

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.