python depends [answered]
I'm developing a app and I need to add some Python libs. What is the recommended way of adding them?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
I'm developing a app and I need to add some Python libs. What is the recommended way of adding them?
Found the solution thanks to the IRC channel.
On the project.pro file add:
lib_files.files = lib
lib_files.path = /usr/share/$$TARGET
INSTALLS += lib_files
And in the rpm yaml:
# All installed files
Files:
- '%{_bindir}'
- '%{_datadir}/%{name}'
- '%{_datadir}/%{name}/lib'
- '%{_datadir}/applications/%{name}.desktop'
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2020-01-02 19:34:21 +0200
Seen: 186 times
Last updated: Jan 02 '20
How to position nested Items in a QML component?
Bug: Can't select text in QML TextInput
Deploy Qt QML lib with Jolla-App
I can't get pyotherside right [answered]
sdk: QML Video - "Internal data stream error."
How to set image to CoverAction
Writing apps for Sailfish: Free APRESS book on QML and JavaScript