Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-1672 Study how built conan packages are deployed from cache
  3. QTIFW-1673

Study how to 'install' the module before creating the package (Cache)

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • None
    • Conan
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            iknd Iikka Eklund
            iknd Iikka Eklund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes