Hoi Alessandro

That is strange.

First I did a zypper rm  qt5-qtsvg to remove qtsvg from my Emulator.

Then I built and run my test app (wiht qt5-qtsvg in the Requires: section of the .yaml /.spec files).

I get this:

Downloaded   PositionSourceTest-0.1-1.i586
Downloaded   PositionSourceTest-0.1-1.i586
Installed    PositionSourceTest-0.1-1.i586
Downloaded   qt5-qtsvg-5.0.2git174.ed11da0-1.1.5.i486
Installed    qt5-qtsvg-5.0.2git174.ed11da0-1.1.5.i486

So in my case qt5-qtsvg can be successfully installed to the Emulator by both zypper and spectacle. My development host is OSX.

Are you running the very latest version of the SDK? One recent version did have a problem with repository refreshing, but the latest one fixed that.

So unless anybody wiser has a bright idea, you should open a bug report as suggested.

mfg

Chris


Zitat von "Alessandro Portale" <alessan...@casaportale.de>:

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.l...@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@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