-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lrelease-qt5 might be distribution specific #2
Comments
lrelease will be very bad, because it will break the Qt4/Qt5 switch. |
QT_INSTALL_BINS is resolved correctly to the QT5 directory (/usr/lib/qt/bin/). QT4 would be /usr/lib/qt4/bin/ on arch. However the official binary is named just "lrelease". The version ending in "-qt5" is a symlink some distributions add but - as far as I can tell - not part of the official qt5-source. There is no standardized way to install qt4 and qt5 on one system so every distribution has it's own structure. So far I could see the following variants: Debian: Arch: $$[QT_INSTALL_BINS]/lrelease or /usr/bin/lrelease-qt5 Gentoo: $$[QT_INSTALL_BINS]/lrelease Looks like this would get rather ugly to get it portable. I'm not really into cmake, but isn't there any way to let it do the guesswork and just tell it to get the distributions qt5-path? I could see the following lines in other projects, but there where no calls for lrelease - not sure if thats an Option…
|
On Fedora/RedHat QT_INSTALL_BINS points to /usr/lib64/qt5/bin/ I will try what happens when I use lrelease |
So try 02ce20a |
There is currently the following definition:
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease-qt5
Arch however features only
$$[QT_INSTALL_BINS]/lrelease
or
/usr/bin/lrelease-qt5
The text was updated successfully, but these errors were encountered: