Closed FrederikLauber closed 6 years ago
LRELEASECOMMAND = lrelease-qt4 is commented in the .pri file.
Please try to uncomment it and replace "qt4" with "qt5" and see if it works. In my system I do not need to specify those commands so I am not having this problem.
I think we could update the commands to match qt5 but I think we should leave them commented.
Hi,
as I am building within the Arch Linux AUR system, I could not easily change the code of the package BUT doing (year, horrible hack):
[root@Foo bin]# ln -s lrelease-qt5 lrelease-qt4
[root@Foo bin]# ln -s qcollectiongenerator-qt5 qcollectiongenerator-qt4
made the program build as intended. If you do not depend on a specific version, maybe you could just call lrelease instead of lrelease-qt4 or lrelease-qt5? Same for qcollectiongenerator.
Cheers,
The config does not depend, but your systems was defaulting to Qt4
Strange, at least in my case I had not qt4 package installed on my system
I agree that is strange! I just tested it out and it worked out both in Gentoo and Ubuntu 18.04.
Were you able to build after forcing Qt commands?
What do you mean wit forcing Qt commands? The aliasing p91 proposed? Yes, that worked.
I ran into a similar error on ubuntu 20.04:
$ make
lrelease -silent ../translations/cs/qtikz_cs.ts -qm locale/qtikz_cs.qm
lrelease: could not exec '/usr/lib/qt5/bin/lrelease': No such file or directory
make: *** [Makefile:775: locale/qtikz_cs.qm] Fehler 1
it was solved by installing
sudo apt-get install qttools5-dev-tools
I recommend adding qttools5-dev-tools
to the install-dependencies in INSTALL
Thanks for pointing it out. You built the pkg from source?
Hello,
while this program runs fine on a qt5 only system, building it will fail due to:
I guess replacing lrelease-qt4 with lrelease-qt5 or lrelease would solve this.
Thanks in advance