-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Hi,
first I want to thank you for this amazing program! There are a lot of nice features already working and I am really happy to be able to control my AirPods on Linux.
I am currently packing librepods for Nixpkgs and noticed that the autostart path is not set correctly here.
Nix is of course a bit special but maybe there is a better way to obtain the application path than
QString appPath = QCoreApplication::applicationFilePath();
https://github.com/kavishdevar/librepods/blob/main/linux/autostartmanager.hpp#L58
Using the path stated in the .desktop file leads to this error:
QQmlApplicationEngine failed to load component
qrc:/linux/Main.qml:4:1: module "QtQuick.Controls" is not installed
The problem is that Nix has wrappers around programs (like for runtime libraries or a qt wrapper).
I patched it more or less in the package (it works technically; only the white title bar is missing) but I think if there is a way to fix it upstream that'd be better.