How to Get Your MAC address with Qt Mobility on MeeGo
If you need to find the MAC address of your MeeGo device the QSystemNetworkInfo class from the Qt Mobility libraries can help.
Create a project in Qt Creator. Here is a minimal project file that includes Qt Mobility.
QT += core TARGET = emptymac CONFIG += mobility MOBILITY += systeminfo TEMPLATE = app target.path=/usr/local/bin INSTALLS=target SOURCES += main.cpp
This sample main.cpp shows how to get your MAC address.
Submit Early for MeeGo*
- Page 4