diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-10-24 13:56:39 +0200 |
---|---|---|
committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-10-25 10:09:17 +0200 |
commit | 9bebcf244803dd30d6289e4f30ff59500338a66d (patch) | |
tree | 2b6742d0234501b655724a9c9910bb040484fe42 /build_scripts | |
parent | ea351c5d53e34d3d1daf71de5eb73ba6e03e552a (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
Pick-to: 6.4
Change-Id: Id708e9de618d2cf277f67973f5474d05aa2a0c41
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
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 11967ba06..6590dcc9d 100644 --- a/build_scripts/config.py +++ b/build_scripts/config.py @@ -202,7 +202,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 c13bdb4ab..e7bdb7a70 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 b5654b614..d9392a79a 100644 --- a/build_scripts/platforms/windows_desktop.py +++ b/build_scripts/platforms/windows_desktop.py @@ -134,7 +134,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/", |