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/config.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/config.py')
| -rw-r--r-- | build_scripts/config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_scripts/config.py b/build_scripts/config.py index 60e9eccfb..ba89d04bd 100644 --- a/build_scripts/config.py +++ b/build_scripts/config.py @@ -218,7 +218,9 @@ class Config(object): f'{PYSIDE}-rcc = {package_name}.scripts.pyside_tool:rcc', f'{PYSIDE}-assistant = {package_name}.scripts.pyside_tool:assistant', f'{PYSIDE}-designer= {package_name}.scripts.pyside_tool:designer', - f'{PYSIDE}-lupdate = {package_name}.scripts.pyside_tool:main', + f'{PYSIDE}-linguist = {package_name}.scripts.pyside_tool:linguist', + f'{PYSIDE}-lupdate = {package_name}.scripts.pyside_tool:lupdate', + f'{PYSIDE}-lrelease = {package_name}.scripts.pyside_tool:lrelease', f'{PYSIDE}-genpyi = {package_name}.scripts.pyside_tool:genpyi', ] } |
