Expand test install path

Expand target.path value for tests.

Change-Id: Ic35122b0ef1440950c0ef2ba9a04e8697ca2cdfe
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Leander Beernaert 2019-10-11 14:06:25 +02:00
parent f2d15b9683
commit dbb29e8235

View File

@ -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")