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. GetTickCount() in QT ?
QtWS25 Last Chance

GetTickCount() in QT ?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 7.5k 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.
  • R Offline
    R Offline
    Raveendra
    wrote on 19 Mar 2012, 08:24 last edited by
    #1

    i would like to know which functions are used in qt which is equivalent to GetTickCount() in windows ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on 19 Mar 2012, 09:33 last edited by
      #2

      What do you need it for? Do you really need the number of milliseconds since the last system start, or are you really after something else?

      Qt does not have API to retreive current system uptime. It is up to you to implement that using system-dependent API's.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Raveendra
        wrote on 19 Mar 2012, 10:30 last edited by
        #3

        i need it for to communicate with DHCP server

        1 Reply Last reply
        0

        3/3

        19 Mar 2012, 10:30

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved