Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Exclude Frameworks with macdeployqt
Forum Update on Monday, May 27th 2025

Exclude Frameworks with macdeployqt

Scheduled Pinned Locked Moved Solved Installation and Deployment
macdeployqtframeworkdeploymentinstallation
2 Posts 1 Posters 1.4k 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.
  • M Offline
    M Offline
    maximo
    wrote on last edited by
    #1

    I'm trying to reduce my application download size. I'm not using the following APIs. How can I make it such that when I run macdeployqt, it doesn't include the frameworks for those APIs?

    • QtQml.framework
    • QtQuick.framework
    • QtWebChannel.framework (I'm using the webkit and webkit bridge, so I assume I don't need the QtWebChannel framework?)
    • QtMultimedia.framework
    • QtMultimediaWidgets.framework
    • QtSensors.framework
    • QtOpenGL.framework
    M 1 Reply Last reply
    0
    • M maximo

      I'm trying to reduce my application download size. I'm not using the following APIs. How can I make it such that when I run macdeployqt, it doesn't include the frameworks for those APIs?

      • QtQml.framework
      • QtQuick.framework
      • QtWebChannel.framework (I'm using the webkit and webkit bridge, so I assume I don't need the QtWebChannel framework?)
      • QtMultimedia.framework
      • QtMultimediaWidgets.framework
      • QtSensors.framework
      • QtOpenGL.framework
      M Offline
      M Offline
      maximo
      wrote on last edited by
      #2

      I found the answer. The problem is that the QtWebKit.framework bundle requires some of these other ones, even though I might not be using them. The only fix would be to acquire the QtWebKit.framework project, remove the QML and Quick dependencies, recompile, swap that framework bundle out of my project after macdeployqt, and then remove the QML and Quick framework bundles.

      Long story short, that ain't happening. Not worth my time because it's super difficult.

      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