mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Unix: Fix regression in translation install target
The introduction of CONFIG+= lrelease introduced a regression in the installation of translation files on systems using make install targets. This is fixed by replacing the old translation targets with the target supplied by lrelease. Fixes #349
This commit is contained in:
16
config.pri
16
config.pri
@ -93,4 +93,20 @@ macx:!CONFIG(pdfkit):!CONFIG(pdfium):!CONFIG(no_pdf) {
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050900
|
||||
}
|
||||
|
||||
unix:!macx {
|
||||
# set install prefix if it's empty
|
||||
isEmpty(PREFIX) {
|
||||
PREFIX = /usr
|
||||
}
|
||||
isEmpty(BINDIR) {
|
||||
BINDIR = $$PREFIX/bin
|
||||
}
|
||||
isEmpty(LIBDIR) {
|
||||
LIBDIR = $$PREFIX/lib
|
||||
}
|
||||
isEmpty(DATADIR) {
|
||||
DATADIR = $$PREFIX/share
|
||||
}
|
||||
}
|
||||
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
Reference in New Issue
Block a user