From 55601b26f826b5dfd2ee0f2507b790902535e3bf Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Mon, 23 Sep 2024 12:59:20 +0200 Subject: [PATCH] Change qt --- conanfile.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index a61f0ff..6590235 100644 --- a/conanfile.py +++ b/conanfile.py @@ -99,7 +99,11 @@ def generate(self): # Use the Qt provided .cmake files qtpath = pathlib.Path(self.deps_cpp_info["qt"].rootpath) qt_root = str(list(qtpath.glob("**/Qt6Config.cmake"))[0].parents[3].as_posix()) - tc.variables["CMAKE_PREFIX_PATH"] = qt_root + + print("qtpath", qtpath) + print("qt_root", qt_root) + + tc.variables["QT_DIR"] = qtpath # Set the installation directory for ManiVault based on the MV_INSTALL_DIR environment variable # or if none is specified, set it to the build/install dir.