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. How can I retrieve hardware information ?
Qt 6.11 is out! See what's new in the release blog

How can I retrieve hardware information ?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 4.5k 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.
  • M Offline
    M Offline
    masum
    wrote on last edited by
    #1

    How can I retrieve serial number of hardware like motherboard, processor, RAM, HDD and LAN card MAC address using Qt for Windows, Linux, Mac and Android ?

    Kind Regards

    Md. Rashidul Hasan
    Software Architect
    OnnoRokom Software Ltd.
    Cell: 8801836885252

    1 Reply Last reply
    0
    • D Offline
      D Offline
      devSJ
      wrote on last edited by
      #2

      Qt does not provide host platform related information, so it will be able to cross-platform :)

      Host OS(platform) info has be provided by yourself for each platform specific implementation. For example, you could use Glib APIs for linux.

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        the only Qt way i can think of is using "QtSystems Addon Module":https://qt.gitorious.org/qt/qtsystems and its QDeviceInfo class. You need to check it our from git and compile it yourself. And i don't know how accurate it is for desktop platforms though, but definitly worth a shot.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • M Offline
          M Offline
          masum
          wrote on last edited by
          #4

          Thank you all for giving valuable information.

          Kind Regards

          Md. Rashidul Hasan
          Software Architect
          OnnoRokom Software Ltd.
          Cell: 8801836885252

          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