Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2354

Cannot create archive, using 7z on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 4.1.1
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:
      None
    • Environment:
      Windows 10, QtIFW-4.1.1, cmake-3.21.3
    • Platform/s:
      Windows

      Description

      I am creating an installer using Qt-IFW 4.1.1 in combination with CPack (cmake version 3.21.3) on Windows 10. QtIFW is not able to archive the installer. It provides an error message in the logs about that there is not enough memory to 7z an archive file. The archive will be quite big, since we do have assets in there of around ~1-2GB).

      On Linux (ubuntu18) there is no issue though and it works. I saw some bug reports from a few years ago talking about the same issue. I still experience this issue. Is there any solution to this problem? Or perhaps workaround?

      The logs:

       

      # Run command: "C:/Qt/QtIFW-4.1.1/bin/binarycreator.exe" "-c" "C:/CI/workspace/sse_release_PR-44/buildRelease/_CPack_Packages/win32/IFW/xxxx-sse-3.3.0-win32/config/config.xml" "-p" "C:/CI/workspace/sse_release_PR-44/buildRelease/_CPack_Packages/win32/IFW/xxxx-sse-3.3.0-win32/packages" "C:/CI/workspace/sse_release_PR-44/buildRelease/_CPack_Packages/win32/IFW/xxxx-sse-3.3.0-win32.exe"
      # Output:
      [897] Warning: QFile::remove: Empty or null file name
      Caught exception: Cannot create archive "C:\Users\xxxxx\AppData\Local\Temp\binarycreator-ypItYU\assets\3.3.0assets.7z": not enough memory
      

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              installerteam Installer Team
              Reporter:
              jlemein Jeffrey Lemein
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes