[Interest] Customized Qt Platform Abstraction plugin

Philippe philwave at gmail.com
Fri Nov 17 23:52:40 CET 2017


> You can do hybrid apps in Qt, I did one in MFC and Qt. Remember at some level Qt is "just a library". I'd imagine that at some point though you'd need to merge the event loops depending on the  level of intertop required. If you don't have the same process/address space you'll need some level of IPC.

A Qt application can embed native windows, but AFAIK, a Qt application
cannot be embedded inside a hierarchy of native windows.
Hence my idea to abstract the the native application via QPA.
All that in the same process (no IPC).

Philippe

On Fri, 17 Nov 2017 21:45:04 +0100
"Jason H" <jhihn at gmx.com> wrote:

> 
> 
> > Sent: Friday, November 17, 2017 at 12:02 PM
> > From: Philippe <philwave at gmail.com>
> > To: interest at qt-project.org
> > Subject: [Interest] Customized Qt Platform Abstraction plugin
> >
> > There is little documentation about Qpa, however I am wondering if a custom Qpa plugin could be used for the followin scenario:
> > 
> > * there is a big desktop application A that does not use Qt, and that uses its own xplatform framework.
> > * there is smaller application B, that is based on Qt widgets
> > * the goal is to embed B inside A. Both applications are from the same company, with possibily to make changes in both (but A must not be rewritten for Qt, and B must remain based on Qt)
> > 
> > I am just asking: how crazy or wise, possible or not, is the idea to
> > create a QPA plugin, representing the "platform A", to host B ?
> > 
> > IOW, mouse/key/window support is provided by A, and used by B
> 
> But they are all running on the same platform. 
> 
> You can do hybrid apps in Qt, I did one in MFC and Qt. Remember at some level Qt is "just a library". I'd imagine that at some point though you'd need to merge the event loops depending on the  level of intertop required. If you don't have the same process/address space you'll need some level of IPC.






More information about the Interest mailing list