[SailfishDevel] Qt5Svg missing on the x86 SailfishOS image?
Alessandro Portale
alessandro at casaportale.de
Fri Nov 8 10:06:06 UTC 2013
Thanks a lot, Chris,
the "Requires" section in the .yaml file was indeed missing an svg
entry, so now I added "qt5-qtsvg" which resulted in a "Requires:
qt5-qtsvg" entry in the .spec file. But still, RPM dependency
resolving failed in the deployment step.
sent 134195 bytes received 1189 bytes 90256.00 bytes/sec
total size is 134765 speedup is 1.00
Transaction: Installing files
Status: Waiting in queue
Status: Waiting for authentication
Status: Waiting in queue
Status: Starting
Status: Resolving dependencies
Results:
Fatal error: nothing provides libQt5Svg.so.5 needed by
touchandlearn-0.1-1.i586
(I did a clean build)
Anyways, after doing "zypper in qt5-qtsvg" as you suggested, it
installed the missing files, and I am happy for now :) But I want this
to work out-of-the box on consumer devices when Jolla phone starts
being sold.
Could it be that the repository data/cache on the device image was
simply not up to date? Shall I add an entry to
https://bugs.merproject.org/ ?
Mfg,
Alessandro
On Fri, Nov 8, 2013 at 6:22 AM, <christopher.lamb at thurweb.ch> wrote:
> Ciao Alessandro
>
> The PkgConfigBR section takes care of the SDK Build Engine.
>
> But what do you have in the Requires: section (for the Emulator)?
>
> You should have an entry: qt5-qtsvg
>
> The alternative is to zypper in qt5-qtsvg
>
> After that on the Emulator when I search for your missing library file I
> get:
>
> find / -name libQt5Svg.so.*
> find: /run/user/100000/state: Keine Berechtigung
> /usr/lib/libQt5Svg.so.5.1.0
> /usr/lib/libQt5Svg.so.5.1
> /usr/lib/libQt5Svg.so.5
> [root at SailfishEmul ~]#
>
> mfg
>
> Chris
>
> Zitat von "Alessandro Portale" <alessandro at casaportale.de>:
>
>> Hi,
>>
>> my application which I am preparing for the store uses Qts Svg module.
>> Compilation in the SDK works fine since I added "QT += svg" to the
>> main .pro file. Deploying/running fails however, although I added "-
>> Qt5Svg" to the PkgConfigBR section in the .yaml file.
>>
>> Error message when deploying by copying binaries:
>> /opt/sdk/..: error while loading shared libraries: libQt5Svg.so.5:
>> cannot open shared object file: No such file or directory
>>
>> and when deploying as RPM package:
>> Fatal error: nothing provides libQt5Svg.so.5 needed by ..-0.1-1.i586
>>
>> Am I doing something wrong or is Qt5Svg intentionally absent on the
>> image or the repository? And if intended is there something a 3rd
>> party app developer can do about it?
>>
>> Thanks,
>> Alessandro
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>>
>
>
More information about the Devel
mailing list