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@SailfishEmul ~]#

mfg

Chris

Zitat von "Alessandro Portale" <alessan...@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



_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to