diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2019-10-11 14:06:25 +0200 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2019-10-11 12:14:28 +0000 |
commit | dbb29e8235941c646dc4b455db6e89fc6e0b590f (patch) | |
tree | 0ca61cf3c34590b54eee5fd932b50aff40fb1c2f /util | |
parent | f2d15b9683c58755cf53250ca30fa60b9c4eb215 (diff) |
Expand test install path
Expand target.path value for tests.
Change-Id: Ic35122b0ef1440950c0ef2ba9a04e8697ca2cdfe
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index a9504d17c9..d61a5d27d2 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -2651,7 +2651,7 @@ def write_example( binary_name = scope.TARGET assert binary_name - example_install_dir = scope.get_string("target.path") + example_install_dir = scope.expandString("target.path") if not example_install_dir: example_install_dir = "examples" example_install_dir = example_install_dir.replace("$$[QT_INSTALL_EXAMPLES]", "examples") |