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. List all running application that started by user
Qt 6.11 is out! See what's new in the release blog

List all running application that started by user

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.7k 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.
  • Q Offline
    Q Offline
    qtdev
    wrote on last edited by
    #1

    How to list all running application that started by user and their start time and end time.

    Please share view.

    Thanks in advance..

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      In general this is OS API dependent. IMO it is quite complex to collect all this information in a unified API. So, I would not expect find anything in Qt. I am not sure, if you will get even the start time somehow on all platforms. When you like to have also the end times, you might a "endless" list when the user is quite active logged-in for long.
      When using Qt to start different applications through QProcess for instance, you can build up your own statistic.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qtdev
        wrote on last edited by
        #3

        i want to track application when user start msword and firefox vlc...etc..using qt..is it possible.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Checkout "QProcess":http://qt-project.org/doc/qt-4.8/qprocess.html

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qtdev
            wrote on last edited by
            #5

            Any body have a better solution for to find out the starting time of application like firefox,msword etc..using qt ..

            please share the code and views if you know...

            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