[Qt-interest] QT Application plugin crashing ...
Bruno Seabra Lima
bslima at telemidia.puc-rio.br
Sun Jan 23 15:03:45 CET 2011
Great meaningful answer :D
As always, u cant have it all .....
I'm gonna test a QProcess approach and see if the performance is
too compromised.
Thanks
Bruno Seabra Mendonça Lima
--------------
Bacharel em Ciência da Computação - UFMA
Mestrando da PUC-Rio
Pesquisador Laboratório Telemidia (PUC-Rio)
Pesquisador Colaborador LAWS (UFMA)
Pesquisador/Desenvolvedor Intacto Software
-------------
www.bslima.com
On Sun, Jan 23, 2011 at 7:37 AM, Konrad Rosenbaum <konrad at silmor.de> wrote:
> On Sunday 23 January 2011, Bruno Seabra Lima wrote:
> > I've tried this ... but it doesnt help
> > threds are in the same fork process ..
> > i think the only away to achieve this is
> > by placing the plugin in separate Process.
>
> Correct. Anything in the same process corrupts the same memory, hence
> crashing the full process.
>
> > I started read the QProcess class, but is going to need to remodel a lot
> > of things.
>
> Yes. This is however the only way to get your app and your "plugin" to not
> share the same address space.
>
> You should however be aware that this makes things significantly slower.
> After all you add the overhead of two processes communicating with each
> other.
>
> > Maybe in the future the QtPlugin mechanism should be process spawed ...
>
> It is called a plug-"IN", not a plug-"OUTSIDE"... ;-)
>
> Plugins are supposed to change the application itself - so they must be
> part
> of the same process.
>
> Otherwise you have mechanisms like QProcess, DBUS, etc.
>
>
> Konrad
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110123/5495a271/attachment.html
More information about the Qt-interest-old
mailing list