Archived:Getting IMEI number in Qt
Archived:This code snippet will show how to retrieve the IMEI number of the device. The XQSysInfo class provides information about the device. imei() method of class XQSysInfo return IMEI number of device.
This snippet requires ReadDeviceData capabilities. Self-signing is not possible because a Developer certificate is needed.
- Download and install the Qt SDK
symbian:LIBS += -letel3rdparty \
symbian:TARGET.CAPABILITY = ReadDeviceData
- The Code Example will show IMEI of device on screen and is tested on Nokia 5800 XpressMusic.