In-app extensions with pyqtdeploy-3/sip-5
Phil Thompson
phil at riverbankcomputing.com
Wed Sep 30 18:26:30 BST 2020
On 30/09/2020 18:07, Patrick Stinson wrote:
> Phil,
>
> I am moving this question form the thread about pyqt6/sip6 snapshots
> being released.
>
> I think pyqtdeploy currently has a conceptual conflict that does not
> allow for including sip extensions that are part of the app itself -
> when a PyQt5 application C++ code that extends Qt classes that are
> used and extended in python app code.
>
> Currently, pyqtdeploy component plugins are meant to be part of the
> sysroot and not part of the app. For example, pyqtdeploy-build has no
> build phase that merely generates the source code for an extension.
> The closest thing is AbstractComponent.install(), which is only called
> from pyqtdeploy-sysroot which is awkward for code developed in tandem
> with the app itself.
>
> What am I missing here?
Nothing. Conceptually I would argue that an extension module can be used
by many apps and so shouldn't be considered as part of any particular
app.
Phil
More information about the PyQt
mailing list