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. Get MachineUUID
Qt 6.11 is out! See what's new in the release blog

Get MachineUUID

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.9k 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Is there a cross platform function (or at last for Linux and Windows(mingw)) to get Machine UUID?
    Thanks

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      There' some standard Windows class for this called Win32_BaseBoard and I assume there should be something similar (maybe not) in linux too.

      Note 1: Tag property of this class has the following description:
      "Unique identifier of the baseboard of the system."

      Note 2: Look here for more info:
      http://msdn.microsoft.com/en-us/library/aa394072.aspx

      Note 3: No cross-platform methods as far as I know.

      Hope this helps

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        Ok byt mingw does not support wmi.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          [quote author="mrdebug" date="1383053787"]Ok byt mingw does not support wmi.[/quote]

          I don't use mingw much but I'm not sure if this is correct. At least I'm sure that mingw works with many parts of WMI.
          Check this out:
          http://stackoverflow.com/questions/9996935/how-to-call-wmi-using-mingw

          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