Results 1 to 3 of 3

Thread: Flickering problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Flickering problem

    What if you reduce the timer from 40ms to 20 or 25ms ?
    40 ms will give 25fps speed, but if your drawing takes some time, then 25 fps wont be acheivable, which is why you might be facing flickering.

    If that doesnt work, try caching the drawing a image on timeout, and in paint() simply draw from that cache..

  2. #2
    Join Date
    Dec 2007
    Location
    London
    Posts
    206
    Thanks
    40
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Flickering problem

    I havent used drawing from cache before. Is there any reference example for that?

Similar Threads

  1. GraphicsItem is flickering
    By anafor2004 in forum Qt Programming
    Replies: 3
    Last Post: 30th September 2009, 11:44
  2. Flickering
    By Pembar in forum Qt Programming
    Replies: 2
    Last Post: 19th May 2009, 19:21
  3. QtOgreFramework flickering with qt 4.5
    By Angelo Moriconi in forum Qt Programming
    Replies: 2
    Last Post: 6th April 2009, 10:52
  4. flickering x-scale
    By sun in forum Qwt
    Replies: 2
    Last Post: 1st October 2008, 07:57
  5. QFileDialog flickering
    By invictus in forum Newbie
    Replies: 8
    Last Post: 17th April 2008, 09:47

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.