Getting IMEI/IMSI or any other unique id in Qt5
-
wrote on 17 Oct 2013, 16:50 last edited by
Hi All
I need to fetch some unique id for the stats gathering (sure it will be hashed and not traceable back, but still I need to get some unique ID first).
I used to utilize QtMobility for getting device IMEI, but it's not available anymore. What do you use in Qt5 for it?
Best regards,
Artem. -
wrote on 19 Oct 2013, 13:55 last edited by
If I were you I would try the "Qt Add-on module":http://qt-project.org/wiki/Qt-Add-ons-Modules "Qt System Info":https://qt.gitorious.org/qt/qtsystems.
-
wrote on 20 Oct 2013, 22:13 last edited by
Did that, works. Main trick was to figure out how to install these modules to the platform of choice (SailfishOS).
-
wrote on 23 Oct 2013, 14:16 last edited by
[quote author="artem.marchenko" date="1382307236"]Did that, works. Main trick was to figure out how to install these modules to the platform of choice (SailfishOS).[/quote]
Well done! May be you should share your experience with the installation at the wiki :)
Btw I'm happy to hear that more and more developers are working on SailfishOS :) -
wrote on 23 Oct 2013, 14:24 last edited by
There doesn't seem to be much life in the sailfish os wiki and I am sort of reluctant to create the proper structure for placing such finding there..
The trick itself is public, you can see it in the Wikipedia app, commit of interest is this one - https://github.com/amarchen/Wikipedia/commit/37b01e6fbbba951e83811a804df4cd730891da0c
I guess mentioning it here will help people coming from google.
-
wrote on 23 Oct 2013, 14:28 last edited by
[quote author="artem.marchenko" date="1382538276"]There doesn't seem to be much life in the sailfish os wiki[/quote]
I was talking about the "Qt Project's wiki":http://qt-project.org/wiki -
wrote on 23 Oct 2013, 14:31 last edited by
Ah, this hint is OS-specific me thinks, I have no idea how to install modules to another environments.
-
wrote on 23 Oct 2013, 14:33 last edited by
[quote author="artem.marchenko" date="1382538706"]Ah, this hint is OS-specific me thinks, I have no idea how to install modules to another environments.[/quote]
Don't worry about that. Just specify at the topic of the article that it is related to SailfishOS. Qt Project's wiki already contains a lot of OS specific articles about Tizen, Android, MeeGo, Symbian, etc.
7/8