diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-06-14 11:47:21 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-01-10 08:01:21 +0000 |
commit | cb345ed5a90fd9c2a99f887b70f6ee4a13d6eede (patch) | |
tree | 9b73f4532a2ba17adab92510702c31865f86cd82 /packaging-tools/bld_qtcreator.py | |
parent | ea36507fab61e8c710b86b31d8a66028cf11919b (diff) |
QtCreator/GammaRay: Hack for building with Qt > 5.12 / 5.14
Change-Id: I5a13746c0e4ffa95c730444fd7f9c5dc6720bc88
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'packaging-tools/bld_qtcreator.py')
-rwxr-xr-x | packaging-tools/bld_qtcreator.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packaging-tools/bld_qtcreator.py b/packaging-tools/bld_qtcreator.py index 2dbe4daf8..4a1326560 100755 --- a/packaging-tools/bld_qtcreator.py +++ b/packaging-tools/bld_qtcreator.py @@ -149,6 +149,16 @@ def patch_qt_pri_files(qt5_path): with open(filepath, 'r') as f: contents = f.read() contents = contents.replace(qt_install_prefix, qt5_path) + # fix paths that were written into GammaRay's module pri files + # Windows + contents = contents.replace('/Users/qt/work/build/src/external/gammaray_install', + qt5_path) + # macOS + contents = contents.replace('/Users/qt/work/build/gammaray_qt5_install', + qt5_path) + # Linux + contents = contents.replace('/home/qt/work/build/gammaray_qt5_install', + qt5_path) with open(filepath, 'w') as f: f.write(contents) |