Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.0.1
-
Qt Installer Sprint 26, Qt Installer Sprint 27
Description
The conanfile.py for qt3d, qtimageformats, qtnetworkauth depend on an environment variable QT_PATH:
def _get_cmake_prefix_path(self): # 'QT_PATH' provided as env variable in profile file which is part of the Qt essential binary # package(s). Installed under .conan/profiles cmake_prefix_path = os.environ.get("QT_PATH") if not cmake_prefix_path: raise QtConanError("'QT_PATH' not defined! The 'QT_PATH' needs to point to Qt installation directory.") print(f"CMAKE_PREFIX_PATH for '{self.name}/{self.version}' build is: {cmake_prefix_path}"
There's an established environment variable for this though, QTDIR. This environment variable is also set by Qt Creator by default. So the Conan recipes should accept this environment varialbe, in additon to (or as a complete replacement of) QT_PATH