Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT painter - tear issue.
Forum Updated to NodeBB v4.3 + New Features

QT painter - tear issue.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 511 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ananth raj
    wrote on last edited by
    #1

    I have inherited the qtopengl - then the image in opencv Mat array is converted in to Q image,
    then using QPainter i just painted the frames from the camera -
    the tear issue is comming in the video .
    when i save the video or the image its fine.
    when i use imshow in opencv for display and the adjusting the force composition pipeline on the tear is not coming but the same thing not working in the QPainter disaplay ,

    f.i: the video from the camera rendering in 60 frames per second.

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      You have reimplemented paintEvent(...) to show the images. Apart from drawing image what else are you doing inside the paintEvent(..) function ? Is there some operation inside the function taking time ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved