Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. `Not enough memory` error when extracting archive to mac /Library/Audio/Plug-Ins folder

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

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 238 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wiccy47
    wrote on last edited by
    #1

    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/?

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wiccy47
      wrote on last edited by
      #2

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

      <?xml version="1.0" encoding="UTF-8"?>
      <Package>
          <DisplayName>MyPlugin</DisplayName>
          <Description>MyPlugin Plug-in</Description>
          <Version>0.0.1</Version>
          <ReleaseDate></ReleaseDate>
          <Name>com.myorg.myplugin.au</Name>
          <Script>installscript.qs</Script>
          <ForcedInstallation>true</ForcedInstallation>
          <Default>true</Default>
          <RequiresAdminRights>true</RequiresAdminRights>
      </Package>
      

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved