diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-07 11:29:51 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-07 18:37:32 +0200 |
| commit | 011cad7cd2cd617427e939d737676394425bdc6b (patch) | |
| tree | 4e8e80481c31bdce0a1a34ec869bf4009fd9099e /build_scripts/platforms/unix.py | |
| parent | 2cce79b0267570642c719598388db9960b0fe953 (diff) | |
PySide6: Add entry points for the Qt Linguist tools
Add lupdate, lrelease, linguist.
Rewrite sources/pyside-tools/CMakeLists.txt to use lists
in case further tools need to be added.
[ChangeLog][PySide6] pyside6-lupdate and the related tools
from Qt Linguist have been re-added, enabling using the Qt
translation system.
Fixes: PYSIDE-1252
Change-Id: Ia528623f2b4fc3882a18347ed862ed910501d466
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'build_scripts/platforms/unix.py')
| -rw-r--r-- | build_scripts/platforms/unix.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index 4b3ed0db0..8e5a5d584 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -165,9 +165,15 @@ def prepare_packages_posix(self, vars): lib_exec_filters = [] if not OPTION['NO_QT_TOOLS']: lib_exec_filters.extend(['uic', 'rcc']) + executables.extend(copydir( + "{install_dir}/bin/", + "{st_build_dir}/{st_package_name}", + filter=["lrelease", "lupdate"], + recursive=False, vars=vars)) # Copying assistant/designer executables.extend(_copy_gui_executable('assistant', vars=vars)) executables.extend(_copy_gui_executable('designer', vars=vars)) + executables.extend(_copy_gui_executable('linguist', vars=vars)) # Copy libexec built_modules = self.get_built_pyside_config(vars)['built_modules'] |
