Autostart exec path ignoring Nix wrappers
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.
Hey! Sorry- I am not quite into linux development. Could you have a look at #225 and see if that's the solution?
During build I see this erorr message
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Could this maybe interfere somehwere?