Skip to content

Add more Qt and Python packages and frameworks to the macOS package #64516

@jdalbers

Description

@jdalbers

Feature description

Goal: make more plugins work on macOS (e.g. those that rely on QtWebEngine for embedded web previews (like qgis2web)).

Observation: It is hard to get some plugins to work with QGIS for macOS. For example, the official QGIS.app doesn’t bundle the QtQuick.framework, so the bundled python/pip can install PyQtWebEngine, but it cannot load because the required Qt frameworks aren’t present.

QtWebEngineWidgets.abi3.so shows hard deps on:
@rpath/QtQuick.framework/...
@rpath/QtQml.framework/...
@rpath/QtQmlModels.framework/...
@rpath/QtWebEngineCore.framework/...
@rpath/QtWebEngineWidgets.framework/

But these are not present.

Suggested improvement
Consider bundling a minimal additional set of Qt/Python frameworks and packages (e.g. QtQuick/QtQml + QtWebEngine) in the official macOS build, so that for example plugins relying on QtWebEngine embedded previews can work without requiring users to rebuild QGIS or modify the app bundle/codesigning.

This would improve plugin compatibility and user experience on macOS.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions