diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-10-24 13:56:39 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-10-25 09:20:19 +0000 |
commit | a90d64178e99351ce51794d9615761c9d1049b24 (patch) | |
tree | 63363f2f99e22818fcab0b79ed807449be8a8757 /build_scripts | |
parent | cb94cf2e375227388e9f24136ed2fa637dc00c76 (diff) |
PySideTools: Add qmlimportscanner
- qmlimportscanner tool helps the deployment tools to identify all
the imported QML modules in the QML files associated with the
project
Change-Id: Id708e9de618d2cf277f67973f5474d05aa2a0c41
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
(cherry picked from commit 9bebcf244803dd30d6289e4f30ff59500338a66d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'build_scripts')
-rw-r--r-- | build_scripts/config.py | 2 | ||||
-rw-r--r-- | build_scripts/platforms/unix.py | 2 | ||||
-rw-r--r-- | build_scripts/platforms/windows_desktop.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/build_scripts/config.py b/build_scripts/config.py index 56762ab6f..ac2cc7981 100644 --- a/build_scripts/config.py +++ b/build_scripts/config.py @@ -201,7 +201,7 @@ class Config(object): _pyside_tools = ["uic", "rcc", "assistant", "designer", "linguist", "lupdate", "lrelease", "genpyi", "metaobjectdump", "project", "qml", "qmltyperegistrar", "qmllint", "qmlformat", "qmlls", - "qtpy2cpp", "deploy"] + "qtpy2cpp", "deploy", "qmlimportscanner"] setup_kwargs['entry_points'] = { 'console_scripts': [f'{PYSIDE}-{tool} = {package_name}.scripts.pyside_tool:{tool}' diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index d00e7536e..2c32a8c01 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -132,7 +132,7 @@ def prepare_packages_posix(self, _vars, cross_build=False): lib_exec_filters = [] if not OPTION['NO_QT_TOOLS']: - lib_exec_filters.extend(['uic', 'rcc', 'qmltyperegistrar']) + lib_exec_filters.extend(['uic', 'rcc', 'qmltyperegistrar', 'qmlimportscanner']) executables.extend(copydir( "{install_dir}/bin/", "{st_build_dir}/{st_package_name}", diff --git a/build_scripts/platforms/windows_desktop.py b/build_scripts/platforms/windows_desktop.py index c2295b9f3..6b840294a 100644 --- a/build_scripts/platforms/windows_desktop.py +++ b/build_scripts/platforms/windows_desktop.py @@ -132,7 +132,7 @@ def prepare_packages_win32(self, _vars): if not OPTION['NO_QT_TOOLS']: filters.extend(["lrelease.exe", "lupdate.exe", "uic.exe", "rcc.exe", "qmllint.exe", "qmltyperegistrar.exe" - "assistant.exe", "designer.exe", + "assistant.exe", "designer.exe", "qmlimportscanner.exe", "linguist.exe", "qmlformat.exe", "qmlls.exe"]) copydir( "{install_dir}/bin/", |