Closed ShimmerFairy closed 10 months ago
It is expected that the tool is available in PATH, not just installed "somewhere".
From what I can tell, this is installed to a standard-for-Qt location, and it seems like build tools are expected to find it themselves, rather than relying on it being in PATH
. After a lot of looking around, it seems like QLibraryInfo
will tell you what directory Qt binaries are installed in, which should be the best way to find them in any scenario. I can try to figure out how to fix the build script with this and submit a pull request later, but it would likely be faster for somebody more experienced with Python to make this kind of change.
Attempting to run
python setup.py build
results in the following error message:What's strange is that the program does in fact exist on my system, under
/usr/lib64/qt5/bin/lrelease
, and is definitely used by other software on my system (since I don't have need for it myself), so the setup script is incorrectly missing it for some reason.