termux-packages/x11-packages/qt5ct/host_lrelease.patch

23 lines
610 B
Diff
Raw Normal View History

--- src/qt5ct.pro 2021-08-01 09:08:33.000000000 +0000
+++ src.mod/qt5ct.pro 2021-09-01 16:08:41.981527832 +0000
@@ -3,18 +3,7 @@
SUBDIRS += src/qt5ct-qtplugin src/qt5ct-style src/qt5ct
-unix:exists($$[QT_INSTALL_BINS]/lrelease){
-LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease
-}
-
-unix:exists($$[QT_INSTALL_BINS]/lrelease-qt5){
-LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease-qt5
-}
-
-
-win32:exists($$[QT_INSTALL_BINS]/lrelease.exe){
-LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease.exe
-}
+LRELEASE_EXECUTABLE = @TERMUX_PREFIX@/opt/qt/cross/bin/lrelease
isEmpty(LRELEASE_EXECUTABLE){