diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-10-17 13:45:17 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-10-18 11:01:43 +0000 |
| commit | b6fa4214de02498b00125f1e65233ae58b4e18b7 (patch) | |
| tree | bf7f065ba226bdb762029b8ea4bbcdbdadfc2821 /build_scripts/utils.py | |
| parent | 793739add3bad1f599a01f5c4f9903ca7f304495 (diff) | |
build/Windows: Clean up the code
- Remove the binaries from the list of filters retrieved from the .7z file.
- Rename copy_qt_dependency_dlls() to download_qt_dependency_dlls()
for clarity.
- Split the artifact list into one containing the Multimedia libraries
and a helper function qt_rhi_artifacts_permanent() for RHI/rendering
related libraries.
- Add a helper function returning whether it is running in COIN
Complements 36f62dd5d45b8b84bd80064ceb43bab74a89321e.
Change-Id: I47518c2f1f9abe601c57c85bd1ec30e5ec5d13c2
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit e17afdce09636145949a7bdd229d0714d981d818)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'build_scripts/utils.py')
| -rw-r--r-- | build_scripts/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py index 02a796897..3f5b47d6f 100644 --- a/build_scripts/utils.py +++ b/build_scripts/utils.py @@ -1174,3 +1174,7 @@ def copy_qt_metatypes(destination_qt_dir, _vars): copydir(qt_meta_types_dir, destination_qt_dir / rel_meta_data_dir, _filter=["*.json"], recursive=False, _vars=_vars, force_copy_symlinks=True) + + +def in_coin(): + return os.environ.get('COIN_LAUNCH_PARAMETERS', None) is not None |
