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. Q_QPA_UPDATE_IDLE_TIME variable issues.
Qt 6.11 is out! See what's new in the release blog

Q_QPA_UPDATE_IDLE_TIME variable issues.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 300 Views
  • 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.
  • M Offline
    M Offline
    marwinhormiz
    wrote on last edited by
    #1

    The QWindow documentation in the description of QWindow::requestUpdate() specifies that when the function is called the event is delivered in sync with the display vsync if enabled, otherwise the event is provided with a 5ms delay. Now it also says that you can change the delay with the help of Q_QPA_UPDATE_IDLE_TIME variable and when I set the variable to example 2ms it all works fine when I create a QWindow application. But if I create a QWidget container using the CreateWindowContainer function and pass the QWindow to it, the event call gets limited to 5ms delay. Seems like the variable only works for QWindow, but why would that be? Is there any way to set a delay on the QWidget to whatever I want?

    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