From dbb29e8235941c646dc4b455db6e89fc6e0b590f Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Fri, 11 Oct 2019 14:06:25 +0200 Subject: [PATCH] Expand test install path Expand target.path value for tests. Change-Id: Ic35122b0ef1440950c0ef2ba9a04e8697ca2cdfe Reviewed-by: Alexandru Croitor --- util/cmake/pro2cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index a9504d17c98..d61a5d27d2f 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")