ios - How to get the SerialNumber of MAC Laptop in QT -


i developing desktop application osx using qt. how can serial number of osx machine using qt api's.

this solution in qt

     qprocess proc;      qstringlist args;      args << "-c" << "ioreg -rd1 -c ioplatformexpertdevice |  awk '/ioplatformserialnumber/ { print $3; }'";      proc.start( "/bin/bash", args );      proc.waitforfinished();      qstring uid = proc.readall();      qdebug()<<uid; 

uid serial number


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -