Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Screen saver/lock issues on Linux embedded system
Forum Updated to NodeBB v4.3 + New Features

Screen saver/lock issues on Linux embedded system

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.3k 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.
  • T Offline
    T Offline
    TKDBarry
    wrote on last edited by
    #1

    I have written an app to be deployed on a Linux-based notebook, using Qt 4.7.3. My boss wants me to add a screensaver that will prompt for a password to unlock/disable the screensaver. I have implemented the QWSScreenSaver save() and restore() functions, and can get a dialog box to pop up from the restore() function.

    The problem is that I cannot get the dialog box to accept any input from the keyboard, or even a mouse click on the Ok button. I've tried to grab the keyboard and mouse (to no avail) inside my dialog, and even release the keyboard and mouse from the restore() function, but nothing seems to help.

    I've added print statements to the restore() code and the dialog constructor, so I know that each time I hit a key or click the mouse, I execute BOTH the restore() function and the dialog contructor.

    Any clues about what I need to do to get this dialog to accept input?

    Thanks!

    Barry

    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