Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Ignore All Errors popup Qt Creator and make clock skew

Ignore All Errors popup Qt Creator and make clock skew

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 3.0k Views
  • 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.
  • J Offline
    J Offline
    jmacey
    wrote on last edited by
    #1

    Is there anyway to disable this popup when running a program, it has appeared in the new Qt Creator 2.7.2 build we are using at our University and is a problem for us, as we have home directories on the server each time we build we get ":-1: error: Warning: File `QtTest2' has modification time 1.6e+02 s in the future" which causes the popup.

    It seems it is difficult to remove this from make and I can't find an option in Qt Creator to disable it.

    Any help would be great as this is beginning to annoy me in my lectures, as well as my students.

    jon

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      This is actually a pretty severe issue as make uses the timestamps to decide which files need to be rebuilt and which are still ok. So you might end up with inconsistent and broken builds due to this clock skew. There is no way to disable this.

      In my experience there are several possible root causes for this issue:

      The machine you work on has the wrong time. Easy to fix: Just set the time properly (and enable NTP to make sure it stays fixed;-).

      I extract the sources from a tarball that was packaged on a different machine with a broken clock. Touching all files makes sure the access time is set to "now" and the issue is gone. On unix use the "touch" command for this, but I am not really sure how to do the same on windows.

      The sources are stored on a server somewhere and the server and the client disagree on the current time. Ask your local administrator to fix the time on the server (in 1. we already made sure our time is correct after all;-). Alternatively store the sources on a local HDD and use a version control system to make them available to fellow devs (and for backup). You should be using a version control system anyway.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jmacey
        wrote on last edited by
        #3

        unfortunately the time skew will always happen due to the university network (2000+ students across several campuses etc), the skew if not an issue for building and we can build on a local non-backed up shared disk.

        Most of the students prefer to work in their home directories rather than the local disks as they move machines often, this is across 4 different year levels as well some of who are not ready for VCS etc.

        It would just be good to disable the popup. It's annoying as make reports this as a warning but Qt reports it as an error.

        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