Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved]How to disable screen lock on Harmattan when my application is running
Qt 6.12 LTS is out! See what's new in the release blog

[Solved]How to disable screen lock on Harmattan when my application is running

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 3.1k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,

    How can I disable screen lock on Harmattan when my application is running?

    I mean something like
    @
    User::ResetInactivityTime();
    @
    on Symbian platform.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      How about "QSystemScreenSaver::setScreenSaverInhibit()":http://doc.qt.nokia.com/qtmobility-1.2/qsystemscreensaver.html#setScreenSaverInhibit - does that do what you are after?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Thanks for the reply. This is what I needed :)

        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
        • Unsolved