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 program is suspended when it's running in background window
Forum Updated to NodeBB v4.3 + New Features

Qt program is suspended when it's running in background window

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 641 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.
  • D Offline
    D Offline
    deron134
    wrote on last edited by
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • S Offline
      S Offline
      SysTech
      wrote on last edited by
      #2

      You say you've made a program to show a camera image and refresh it regularly... I wonder if when it goes into the background if Windows is preventing the screen refresh from happening because it is not the active window?

      To rule this in/out I would add some logging to your program to write out each time it takes an image and refreshes it. Perhaps to do this slow down your refresh rate so you don't get a ton of log entries.

      Then run your program and put it in the background. See if you are getting log entries in that state. I suspect you will be and that it is a screen refresh issue. I can't say for sure what is going on.

      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