Important: Please read the Qt Code of Conduct -

`Not enough memory` error when extracting archive to mac /Library/Audio/Plug-Ins folder

  • Hi all,

    I have a build that includes a standalone app and multiple audio plugins (Currently on OSX). So for installing the plugin components (name MyPlugin.Component) I add a installscript.qs

    function Component()
    Component.prototype.createOperationsForArchive = function(archive)
        component.addOperation("Extract", archive, "/Library/Audio/Plug-Ins/Components/MyPlugin.Component")

    However it raised not enough memory err while extracting.

    But if I simply changed the path from /Library/Audio/Plug-Ins/Components/MyPlugin.Component to /Applications/MyPlugin.Component, the installation worked.

    In config.xml I have the TargetDir set to /Applications/MyStandalone. for the standalone app component.

    Can you advice how I can install additional components to /Library/Audio/Plug-Ins/?

  • For a bit more context, the package.xml of this component is:

    <?xml version="1.0" encoding="UTF-8"?>
        <Description>MyPlugin Plug-in</Description>

    The MyPlugin.Component is in the data dir, It is about 8MB

    I wonder if the not enough memory is caused by incorrect archive. That somehow the 7z archive did just zip the file in data but something much bigger causing the not enough memory error.

    But I don't really know how to verify this.

Log in to reply