Results 1 to 3 of 3

Thread: QgraphicsView performance

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

    Default QgraphicsView performance

    Hi All,

    In my app. I am having almost > 15K rectangles and 20 K+ line drawn between these rectangles. I am using QT 4.5.1 on Window & Linux. But the preformance on Linux is slower than on Windows ???
    Can anybody tell me tricks/tips to improve performance. ???
    The rectangels are of QGraphicsItem and lines if of type QGraphicsLineItem and needs to be interactive/selectable. Performance gets down whenever I do zoom in/out operation on QGraphicsView.

    Thanks in advance.

    Nilesh

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: QgraphicsView performance

    First try to play around with different graphics backends: Pass -graphicssystem raster or -graphicssystem opengl as command line args to your app and see whether it makes any difference.
    It's nice to be important but it's more important to be nice.

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

    nileshsince1980 (15th February 2010)

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

    Question Re: QgraphicsView performance

    Hi
    Thanks for your reply.
    I tried raster & opengl option ..but it didnt help me .
    Do you have another idea ?

    Nilesh

Similar Threads

  1. again QGraphicsView performance
    By medved6 in forum Qt Programming
    Replies: 11
    Last Post: 21st December 2009, 22:11
  2. QGraphicsView and panning performance
    By prashant in forum Qt Programming
    Replies: 1
    Last Post: 27th November 2009, 20:40
  3. QGraphicsView performance in 4.6
    By Lodorot in forum Qt Programming
    Replies: 2
    Last Post: 21st September 2009, 00:09
  4. QGraphicsView animation performance
    By rakkar in forum Newbie
    Replies: 8
    Last Post: 3rd September 2009, 05:14
  5. QGraphicsView performance
    By Halabund in forum Newbie
    Replies: 3
    Last Post: 17th April 2009, 11:12

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.