Open BitiTiger opened 7 months ago
I can confirm that grabbing the Linux build of Discord RPC from the releases page will fix this issue. Copying discord-rpc/linux-dynamic/lib/libdiscord-rpc.so
from the release zip archive to ~/.local/share/data/QtProject/qtcreator/plugins/12.0.2/lib/qtcreator/plugins/libdiscord-rpc.so
will solve the problem.
This file can be fetched by the CI script and added to the artifact at lib/qtcreator/plugins/libdiscord-rpc.so
. Then it will be installed to the correct location and this plugin will finally work normally.
Just commenting that this issue has been resolved in the latest changes to the plugin. You can check it out in the released version: https://github.com/eduardoc7/qtcreator-plugin-discord-presence/releases/tag/v0.1.0
And update your fork. Thank you for reporting
When installing the plugin generated from GitHub CI, I get a warning about a missing
libdiscord-rpc.so
file. The file has to be fetched from the Discord RPC repo. This should be easy to script into the CI.Error from Qt Creator:
/home/cait/.local/share/data/QtProject/qtcreator/plugins/12.0.2/lib/qtcreator/plugins/libCuteDiscordPresence.so: Cannot load library /home/cait/.local/share/data/QtProject/qtcreator/plugins/12.0.2/lib/qtcreator/plugins/libCuteDiscordPresence.so: (libdiscord-rpc.so: kan inte öppna delad objektfil: Filen eller katalogen finns inte)
A directory tree of the plugins directory:
A directory tree of the 7z file: