Results 1 to 8 of 8

Thread: QLabel does not repaint QPixmap

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Feb 2017
    Posts
    5
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: QLabel does not repaint QPixmap

    Yes, but if it's race condition and timing issue, than why it's possible to get smooth playback on both videos if manually change main window resize. As long as i change it, it repaints both label frames and nothing stucks. Once i stop changing size, the same label that was stopped previously, stop again. Though that timing issue should keep blocked forever even if i resize it.

    I am definit that the race condition is not in frame receiving. I monitor the frame receiving on the place where setPixmap used. And it shows that frames are coming consequently to both. But highly possible on QT repaint. Maybe it stuck on update specific label. If i set pixmap on one label, is it true, that it can affect the state of other label context ?
    Last edited by __Emanuel; 5th February 2017 at 14:10.

Similar Threads

  1. Pan/Move QPixmap in QLabel
    By ashtray4241 in forum Qt Programming
    Replies: 5
    Last Post: 14th August 2014, 09:50
  2. QPixmap and QLabel performance
    By mass85 in forum Qt Programming
    Replies: 10
    Last Post: 13th December 2010, 11:19
  3. QLabel, QPixmap and ScaledContents
    By mhbeyle in forum Qt Programming
    Replies: 3
    Last Post: 28th November 2009, 10:11
  4. DrawLine over QPixmap within Qlabel
    By Qt Coder in forum Qt Programming
    Replies: 8
    Last Post: 26th March 2009, 13:21
  5. Rotate QPixmap set on QLabel
    By Qt Coder in forum Qt Programming
    Replies: 1
    Last Post: 18th March 2009, 13:08

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