diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-11-19 18:28:40 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-11-22 18:28:38 +0100 |
commit | 2d3758754337c673e459dfafe7db20462fa7acb2 (patch) | |
tree | cd59955333f7ed2426694f50ded9e9510cf1d93c /build_scripts/platforms/macos.py | |
parent | cff76d051133a5c8ff95f272134f7ee55f57bceb (diff) |
setup.py: Package QtWebEngine resources from Qt's data dir
The QtWebEngine resources are not necessarily in $qt_prefix/resources.
On Linux, distro's might specify a different value for
QT_INSTALL_DATA.
Make sure to use that value.
Pick-to: 6.2
Change-Id: I5bed723de07d39d0bc72e7932161809150433037
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/platforms/macos.py')
-rw-r--r-- | build_scripts/platforms/macos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/platforms/macos.py b/build_scripts/platforms/macos.py index dcbaff3a3..43a5f58d2 100644 --- a/build_scripts/platforms/macos.py +++ b/build_scripts/platforms/macos.py @@ -160,7 +160,7 @@ def prepare_standalone_package_macos(self, vars): recursive=True, vars=vars, force_copy_symlinks=True) if self.is_webengine_built(built_modules): - copydir("{qt_prefix_dir}/resources", + copydir("{qt_data_dir}/resources", "{st_build_dir}/{st_package_name}/Qt/resources", filter=None, recursive=False, |