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. RTC of AM335x is not Updated with QProcess Class
Qt 6.11 is out! See what's new in the release blog

RTC of AM335x is not Updated with QProcess Class

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 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.
  • P Offline
    P Offline
    praveen0991kr
    wrote on last edited by
    #1

    I have made one application in which i have to update my system date and time:
    Qt 5.0.1
    Linux Environment

    when i am working with Ubuntu 12.04 and after running application as i press pushbutton date and time is updated on system and after restart of PC it shows updated date and time;

    but the same application when i run on my AM335x device with linux environment:
    After pressing pushbutton it shows updated date and time as required but when i restart my device it show previous data i.e : date time that might be store in SDK files or AM335x system files

    My Question is how to update Date and Time Values in AM335x based device system files.

    Praveen

    1 Reply Last reply
    0
    • jazzycamelJ Offline
      jazzycamelJ Offline
      jazzycamel
      wrote on last edited by
      #2

      Is the AM335x part of a BeagleBone system? If so, I think you'll find that, as the BB doesn't have a hardware clock source, the system time is probably set via "NTP":http://en.wikipedia.org/wiki/Network_Time_Protocol on boot and is therefore probably overwriting/ignoring your changes.

      As this is is more of a system/OS question you might get more luck on one of the BB/embedded linux forums.

      For the avoidance of doubt:

      1. All my code samples (C++ or Python) are tested before posting
      2. As of 23/03/20, my Python code is formatted to PEP-8 standards using black from the PSF (https://github.com/psf/black)
      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