Ask / Submit
1

Deploy Qt QML lib with Jolla-App

asked 2014-02-06 14:03:00 +0200

Strahlex gravatar image

I use the QtGraphicalEffects QML library in my application, but as some may now this library is currently not allowed in the Harbour, however, it works very good on SailfishOS. Is there a way to deploy this library with the app?

edit retag flag offensive close delete

Comments

http://openrepos.net

nodevel ( 2014-02-06 14:25:14 +0200 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2014-02-06 15:23:36 +0200

Sthocs gravatar image

Yes there is. You simply have to specify the packages that your app need in the Requires section of your appname.yaml file.

See here: https://sailfishos.org/develop-packaging-apps.html, section "Requires (Optional)".

edit flag offensive delete publish link more

Comments

I added qt5-qtgraphicaleffects to requires -> results in the error Dependency not allowed.

Strahlex ( 2014-02-06 20:34:44 +0200 )edit

I did a search on this forum and it's apparently a Harbour error message. What are you trying to do?

Sthocs ( 2014-02-06 22:21:20 +0200 )edit

I try add QtGraphicalEffects explicitly to my app.

Strahlex ( 2014-02-13 16:09:21 +0200 )edit

That's what Requires will do: If you uninstall qt5-qtgraphicaleffects from your phone and then install your application, it will automatically reinstall qt5-qtgraphicaleffects. But you cannot embed it directly in your .rpm. So to put your app on Harbour, you unfortunately need to wait that Jolla allows this dependency. In the meantime, as @nodevel said, you can put it on OpenRepos.

Sthocs ( 2014-02-13 17:23:41 +0200 )edit

Yes I already did that: https://openrepos.net/content/strahlex/qremotecontrol But I am not sure whether Jolla will support QtGraphicalEffects ever.

Strahlex ( 2014-02-13 17:30:28 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2014-02-06 14:03:00 +0200

Seen: 154 times

Last updated: Feb 06 '14