[SailfishDevel] Installing QtSystemInfo QML module (or any other module from public repo) Re: How do you get phone IMEI, IMSI and other hardware info?

christopher.lamb at thurweb.ch christopher.lamb at thurweb.ch
Fri Oct 18 05:06:49 UTC 2013


alternatively, for those who like the command line:

Connect to the emulator via ssh, and then run "zypper in  
qt5-declarative-systeminfo"

mfg
Chris

Zitat von "Artem Marchenko" <artem.marchenko at gmail.com>:

> Okay, changing deployment method to RPM solved it, Require line in specs
> caused the package to actually install.
>
> /Artem.
>
>
> On Fri, Oct 18, 2013 at 12:28 AM, Artem Marchenko <artem.marchenko at gmail.com
>> wrote:
>
>> Hi Mikael and all
>>
>> If I modify something just in my Sailfish OS target, will
>>
>> Jonni on IRC already advised adding to spec file (same as adding to yaml?):
>>
>> BuildRequires:  pkgconfig(Qt5SystemInfo)
>>
>>
>> That somehow pulls the needed headers and I can use system info classes in
>> C++.
>> Now trying to figure how to install the qml plugin.
>>
>> Requires:   qt5-qtdeclarative-systeminfo
>>
>> That seems to be not good enough. Any advice?
>>
>> Cheers,
>> Artem.
>>
>>
>> On Thu, Oct 17, 2013 at 8:05 PM, Mikael Hermansson <mike at 7b4.se> wrote:
>>
>>>
>>> its there but you have to install it manualy
>>>
>>> click sailfishos icon targets => manage and search in  for qtsystem and
>>> install qt5-systems




More information about the Devel mailing list