LazyT
1
Hello,
I would like to use SQLcipher in my Qt6 Flatpak.
I usually compile the QtSQLcipher plugin from https://github.com/chehrlic/QtSQLcipher-Qt6 and install it in the /plugins/sqldrivers directory.
However, this directory is read-only in the runtime environment under /usr/lib.
How does this work in a Flatpak and how can I add this library?
Thank you very much!
bbhtt
2
Install it to /app
prefix as part of your app manifest.
LazyT
3
I forgot to mention that I’ve already tried this with the /app/lib directory.
After the plugin is loaded, nothing happens (I ran it with QT_DEBUG_PLUGINS=1).
There are no errors and the GUI doesn’t show up, it simply hangs at this point.
I guess the sqlcipher plugin depends on the sqlite plugin, which is in the runtime.
Putting it to /app doesn’t work, it is ignored there.
Edit: Ok, putting it besides the binary under sqldrivers as usual is enough.
hub
Closed
4
This topic was automatically closed after 38 hours. New replies are no longer allowed.