Skip to content

Commit

Permalink
Change qt
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvth committed Sep 23, 2024
1 parent ef5dce4 commit 1300daf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ 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
qt_root = str(list(qtpath.glob("**/Qt6Config.cmake"))[0].as_posix())

print("Qt6_DIR: ", qt_root)
tc.variables["Qt6_DIR"] = qt_root

# 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.
Expand Down

0 comments on commit 1300daf

Please sign in to comment.