Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Changing system time problem [MeeGo Harmattan]
Qt 6.12 LTS is out! See what's new in the release blog

Changing system time problem [MeeGo Harmattan]

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.4k 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 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
    • Unsolved