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. Changing system time problem [MeeGo Harmattan]
Forum Updated to NodeBB v4.3 + New Features

Changing system time problem [MeeGo Harmattan]

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

    Hi all!

    I'm trying to set system time using MeeGo::QmTime::setTime(), but it required a timed::TimeControl resource token. Unfortunately aegis doesn't allow it at installation time:

    bq. Package myapp: denied 'timed::TimeControl' -- origin '' does not allow it
    Package myapp: denied 'timed::TimeControl' for '/opt/myapp/bin/myapp' -- origin '' does not allow it

    As a result setTime() doesn't work without that token, it always return zero (false).
    SDK's help documentation and aegis configuration on the real device are different. What is the point to include in SDK the API which can not be actually used?

    So is there any way to set system time from my own code? Maybe there is another API which able to change system date/time on MeeGo, and which will really work?

    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