Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
None
-
Qt6 Installer Sprint 7, Qt6 Installer Sprint 8
Description
Before deployment can take place the module needs 'make install'. The 'install' step needs to happen inside the Cache and "def package()" needs to package content from the 'install' location.
Solution:
run 'make install' with INSTALL_ROOT that points to directory under the conan Cache's build directory.
The 'install' phase should happen in "def package()" method in conanfile.py recipe, not in "def build()".
Once the 'install' is done the exact location for installed content needs to be deduced with the help of 'qmake -query' and parse the value of QT_INSTALL_PREFIX
i.e. "current build directory in cache" + "QT_INSTALL_PREFIX".
Package everything from this location into the conan package.